dotfiles/.emacs.d/snippets/emacs-lisp-mode/x-grabthing

5 lines
123 B
Plaintext

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