]> code.delx.au - gnu-emacs-elpa/blob - snippets/emacs-lisp-mode/x-grabthing.yasnippet
Keep snippet vars definitions in a single format across all snippets and documentation.
[gnu-emacs-elpa] / snippets / emacs-lisp-mode / x-grabthing.yasnippet
1 # contributor: Xah Lee (XahLee.org)
2 # name: grab word under cursor
3 # key: x-grabthing
4 # --
5 (setq $0 (thing-at-point 'symbol))