GNU Info

Info Node: (emacs)Find-func

(emacs)Find-func


Prev: FFAP Up: Hyperlinking
Enter node , (file) or (file)node

Finding Function and Variable Definitions
-----------------------------------------

`M-x find-function <RET> FUNCTION <RET>'
     Find the definition of FUNCTION in its source file.

`M-x find-variable <RET> VARIABLE <RET>'
     Find the definition of VARIABLE in its source file.

`M-x find-function-on-key <RET> KEY'
     Find the definition of the function that KEY invokes.

   These commands provide an easy way to find the definitions of Emacs
Lisp functions and variables.  They are similar in purpose to the Tags
facility (Note: Tags), but don't require a tags table; on the other
hand, they only work for function and variable definitions that are
already loaded in the Emacs session.

   To find the definition of a function, use `M-x find-function'.  `M-x
find-variable' finds the definition of a specified variable.  `M-x
find-function-on-key' finds the definition of the function bound to a
specified key.

   To use these commands, you must have the Lisp source (`.el') files
available along with the compiled (`.elc') files, in directories in
`load-path'.  You can use compressed source files if you enable Auto
Compression mode.  These commands only handle definitions written in
Lisp, not primitive functions or variables defined in the C code of
Emacs.


automatically generated by info2www version 1.2.2.9