3

I could use M-x find-function to find the source code of some elisp functions if the function is not written in C code.

But since I am using a Debian binary package of Emacs , some of the source code is omitted and only the byte-compiled .elc files preserved. So is there any way to get the source code and attach them with those elc files? Can I use apt-get source emacs and associate with the src (C code as well) with the byte-compiled one. Or do I have to build Emacs from source code?

Anthon
  • 78,313
  • 42
  • 165
  • 222
Hongxu Chen
  • 5,828
  • 8
  • 27
  • 32

1 Answers1

3

To keep the installation smaller, Debian's emacs metapackage does not include the Elisp source code (as you've noticed). Debian packages that in emacsVERSION-el. There is no emacs-el metapackage, so you'll have to install the -el package for the appropriate version of Emacs.

Currently, that's emacs23-el, because the emacs metapackage installs emacs23.

cjm
  • 26,740
  • 12
  • 88
  • 84