my-emacs-d/elpa/yasnippet-20160924.2001/snippets/emacs-lisp-mode/x-grabthing

5 lines
123 B
Plaintext
Raw Normal View History

#contributor: Xah Lee (XahLee.org)
#name: grab word under cursor
# key: x-grabthing
# --
(setq $0 (thing-at-point 'symbol))