yasnippet/snippets/emacs-lisp-mode/x-grabthing.yasnippet

5 lines
105 B
Plaintext
Executable File

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