Opening an Emacs Team Definition

Can a command definition file be opened in emacs elisp to see how it is defined?

+3
source share
2 answers

Yes you can call M-x find-function

Some functions are implemented in C. In order to find the C function, you need to download the C source code (if you haven’t already) and add the following line to your .emacs

(setq find-function-C-source-directory "/path/to/c-source")
+3
source

Another way:

C-h f foo RETto see the documentation for the function foo.

, , , . ( RET ) , . Lisp ( Lisp) C ( C), .

, , : C-h k.

+2

Source: https://habr.com/ru/post/1794402/


All Articles