Created
March 19, 2012 04:11
-
-
Save bamanzi/2094473 to your computer and use it in GitHub Desktop.
[emacs] Best(?) way to go to a function/variable's declaration (within buffer)
This file contains 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 anything-goto-symbol () | |
"Show anything list, using current symbol as input to narrow the choices." | |
(interactive) | |
(anything | |
:prompt "Go to:" | |
:candidate-number-limit 10 | |
:input (thing-at-point 'symbol) | |
:sources | |
'( anything-c-source-imenu | |
anything-c-source-browse-code | |
anything-c-source-semantic | |
;; anything-c-source-info-emacs-lisp-intro | |
))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment