When I search for a function description [find-function] and I click on the link to the “–.c”
file I cannot open it and I get Emacs C Source dir: ~/ in the Minibuf. I am stuck there and I don’t know what to do.
“The Emacs distribution includes the full source code for the manuals, as well as the Emacs Reference Card in several languages.” gnu.org/software/emacs
Get the
.tar.gzfile that corresponds to your Emacs version (check withM-x emacs-versionif you’re unsure) from http://ftp.gnu.org/pub/gnu/emacs/, and unpack it. Then you can enter the path to where you unpacked it as response to “Emacs C Source Dir”. (I suspect you need to specify thesrcsubdirectory of the Emacs distribution, but I haven’t tried it myself.)