Next: Electric C, Up: C Modes
This section describes commands for moving point, in C mode and related modes.
M-x c-beginning-of-defunM-x c-end-of-defunbeginning-of-defun and
end-of-defun search for braces in column zero.) If you are
editing code where the opening brace of a function isn't placed in
column zero, you may wish to bind C-M-a and C-M-e to
these commands. See Moving by Defuns.
C-c C-u`#elif' is equivalent to `#else' followed by `#if', so
the function will stop at a `#elif' when going backward, but not
when going forward.
C-c C-pC-c C-nM-ac-beginning-of-statement). If point is already at the beginning
of a statement, move to the beginning of the preceding statement. With
prefix argument n, move back n − 1 statements.
In comments or in strings which span more than one line, this command
moves by sentences instead of statements.
M-ec-end-of-statement).