Is it possible to find/jump/point to where an Emacs LISP variable is used/defined within the current file? I know about find-variable
, describe-variable
and find-symbol
, but those all seem to work only on globally defined symbols. I would like something that I can use to quickly examine the current file.
I recently started learning Racket, and in using the DrRacket IDE, I found it has this feature, which I find extremely useful:
It would be great to have this feature in Emacs for emacs-lisp (and of course, for other languages as well).
M-.
will jump to the definition, andM-?
will find uses. In case of Elisp the former requires the code to be evaluated.let
ordolist
, even with etags mode. Still, very useful to know.