Next: Moving by Pages, Previous: Moving by S-Expression, Up: Elemental Movement [Index]
Command | Key Binding | Purpose | Curent Value |
---|---|---|---|
beginning of defun | ‘C-M-a’ | Move to beginning of defun | |
end-of-defun | ‘C-M-e’ | Move to end of defun | |
defun-prompt-regexp | User option; what text can | ||
can appear before the open-paren | |||
that starts a defun | |||
open-paren-in-columnn-0-is-defun-start | Variable; open paren in col 0 is defun | src_emacs_lisp{open-paren-in-column-0-is-defun-start} | |
beginning-of-defun-function | Function to find beginning of a defun | ||
end-of-defun-function | Function to find end of defun |
The defun
commands move to the logical beginning or end of the function point
is in. ‘function’ is really a rather loose term.