Created
July 17, 2018 19:12
-
-
Save bzg/05e4211ba37a26be56b7aa3ecbaa7b81 to your computer and use it in GitHub Desktop.
Emacs: find variable or function at point
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(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