I want to be able to view C source code of Emacs functions. For example, I want to be able to do
M-: (find-function 'message).
Emacs prompts me for directory the C sources, so it can set
find-function-C-source-directory. However, my distro (Arch Linux) has just done the usual
make; make install steps (see the package recipe here) so there are no C sources available without manually downloading them.
So, I want to fix the packaging. My questions are:
- Are there configuration options Emacs' makefile that mean
make installcopies the C sources too? I can't see anything obvious.
- What's the correct way to set
find-function-C-source-directoryin the package? Create a
- Are there any distros or platforms that already do this?