diff options
Diffstat (limited to '')
-rw-r--r-- | emacs.d/snippets/text-mode/emacs-lisp-mode/grabthing | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/emacs.d/snippets/text-mode/emacs-lisp-mode/grabthing b/emacs.d/snippets/text-mode/emacs-lisp-mode/grabthing new file mode 100644 index 0000000..772b8dc --- /dev/null +++ b/emacs.d/snippets/text-mode/emacs-lisp-mode/grabthing @@ -0,0 +1,4 @@ +#name : grab word under cursor +#contributor : Xah Lee +# -- +(setq $0 (thing-at-point 'symbol)) |