diff options
Diffstat (limited to 'emacs.d/snippets/text-mode/emacs-lisp-mode/grabstring')
-rw-r--r-- | emacs.d/snippets/text-mode/emacs-lisp-mode/grabstring | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/emacs.d/snippets/text-mode/emacs-lisp-mode/grabstring b/emacs.d/snippets/text-mode/emacs-lisp-mode/grabstring new file mode 100644 index 0000000..55600b1 --- /dev/null +++ b/emacs.d/snippets/text-mode/emacs-lisp-mode/grabstring @@ -0,0 +1,4 @@ +#name : grab buffer substring +#contributor : Xah Lee +# -- +(setq $0 (buffer-substring-no-properties myStartPos myEndPos)) |