summaryrefslogblamecommitdiffstats
path: root/emacs.d/snippets/text-mode/emacs-lisp-mode/grabthing
blob: 772b8dc3cb0eba267ac06efa784722d341cbb8dc (plain) (tree)
1
2
3
4



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