Throughout the day I am constantly using C-h f
or C-h v
(describe-function
and describe-variable
) to look up documentation for functions and variables. More often than not, if I don't get all the information I need, I will click on the file link at the end of:
some-random-command is an interactive compiled Lisp function in `some-mode.el'.
and navigate to the source code. This works for installed packages, but doesn't seem to work for built-in ones. For example, at the top of the help page for the command describe-function
all I get is:
describe-function is an interactive compiled Lisp function.
with no link to the source code. Is there any way to quickly navigate to the source code of a built in package?
I know I can find source code in e.g., /usr/share/emacs/24.5/lisp
, and come up with any number of ways to access that directory quickly, but I am curious if there is a quick and easy way to navigate to a built-in function/variable definition in the source code. Thank you!