Skip to content

Instantly share code, notes, and snippets.

@bzg
Created July 17, 2018 19:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bzg/05e4211ba37a26be56b7aa3ecbaa7b81 to your computer and use it in GitHub Desktop.
Save bzg/05e4211ba37a26be56b7aa3ecbaa7b81 to your computer and use it in GitHub Desktop.
Emacs: find variable or function at point
(defun bzg-find-variable-or-function-at-point ()
(interactive)
(or (find-variable-at-point)
(find-function-at-point)
(message "No variable or function at point.")))
(global-set-key (kbd "C-:") 'bzg-find-variable-or-function-at-point)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment