Could Not Open Emacs C Source Code

When I search for a description of the [find-function] function, and I click on the link to “-. C”, I cannot open it, and I get Emacs C Source dir: ~ / in the minibuff. I am stuck there and I do not know what to do.enter image description here

"The Emacs distribution includes the complete source code for the manuals, as well as the Emacs help map in several languages." gnu.org/software/emacs

+5
source share
2 answers

Get the .tar.gzfile that matches your version of Emacs (check with M-x emacs-versionif you are unsure) from http://ftp.gnu.org/pub/gnu/emacs/ , and unzip it. You can then enter the path to where you unpacked it, in response to "Emacs C Source Dir". (I suspect you need to specify a subdirectory of srcthe Emacs distribution, but I have not tried it myself.)

+8
source

After you download the soruce code, there is also a variable that can adjust the location of the source code. eg:

(setq find-function-C-source-directory "~/Projects/emacs-25.1/src/")
+1
source

All Articles