1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-26 15:21:51 -08:00

More proofreading fixes from Peter Milliken.

This commit is contained in:
Eli Zaretskii 2001-06-20 09:48:52 +00:00
parent f9fd7fbcee
commit 520c3f4c2e

View file

@ -169,11 +169,13 @@ adding @samp{-hook}. For example, turning on C mode runs the hook
@cindex Control-Meta
By convention, Emacs keys for dealing with balanced expressions are
usually Control-Meta characters. They tend to be analogous in
function to their Control and Meta equivalents. These commands are
usually thought of as pertaining to expressions in programming
languages, but can be useful with any language in which some sort of
parentheses exist (including human languages).
usually Control-Meta characters. They tend to be analogous in function
to their Control and Meta equivalents. (For example, @kbd{C-M-b} moves
back over one balanced expression, which is analogous to @kbd{C-b} that
moves one character back and to @kbd{M-b} which moves one word back.)
These commands are usually thought of as pertaining to expressions in
programming languages, but can be useful with any language in which some
sort of parentheses exist (including human languages).
@cindex list
@cindex sexp
@ -329,6 +331,15 @@ regardless of what its contents are, and regardless of the programming
language in use. For example, in C, the body of a function definition is a
defun.
@cindex move to beginning or end of function
@cindex function, move to beginning or end
@kindex C-M-a
@kindex C-M-e
@kindex C-M-h
@findex beginning-of-defun
@findex end-of-defun
@findex mark-defun
@c doublewidecommands
@table @kbd
@item C-M-a
@ -340,17 +351,6 @@ Move to end of current or following defun (@code{end-of-defun}).
Put region around whole current or following defun (@code{mark-defun}).
@end table
@cindex move to beginning or end of function
@cindex function, move to beginning or end
@kindex C-M-a
@kindex C-M-e
@kindex C-M-h
@findex beginning-of-defun
@findex end-of-defun
@findex mark-defun
The commands to move to the beginning and end of the current defun are
@kbd{C-M-a} (@code{beginning-of-defun}) and @kbd{C-M-e} (@code{end-of-defun}).
@kindex C-M-h @r{(C mode)}
@findex c-mark-function
If you wish to operate on the current defun, use @kbd{C-M-h}