@c Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1997, 2002, 2003,
@c 2004, 2005, 2006 Free Software Foundation, Inc.
@c See file emacs.texi for copying conditions.
-@node Abbrevs, Picture, Maintaining, Top
+@node Abbrevs
@chapter Abbrevs
@cindex abbrevs
@cindex expansion (of abbrevs)
mode-specific definitions for different major modes. A mode-specific
definition for the current major mode overrides a global definition.
- Yu can define abbrevs interactively during the editing session. You
+ You can define abbrevs interactively during the editing session. You
can also save lists of abbrev definitions in files for use in later
sessions. Some users keep extensive lists of abbrevs that they load
in every session.
@node Expanding Abbrevs
@section Controlling Abbrev Expansion
- An abbrev expands whenever it is present in the buffer just before
-point and you type a self-inserting whitespace or punctuation character
-(@key{SPC}, comma, etc.@:). More precisely, any character that is not a
-word constituent expands an abbrev, and any word-constituent character
-can be part of an abbrev. The most common way to use an abbrev is to
-insert it and then insert a punctuation or whitespace character to expand it.
+ When Abbrev mode is enabled, an abbrev expands whenever it is
+present in the buffer just before point and you type a self-inserting
+whitespace or punctuation character (@key{SPC}, comma, etc.@:). More
+precisely, any character that is not a word constituent expands an
+abbrev, and any word-constituent character can be part of an abbrev.
+The most common way to use an abbrev is to insert it and then insert a
+punctuation or whitespace character to expand it.
@vindex abbrev-all-caps
Abbrev expansion preserves case; thus, @samp{foo} expands into @samp{find
special set of abbrev definitions for making several global replacements at
once. This command is effective even if Abbrev mode is not enabled.
- Expanding an abbrev runs the hook @code{pre-abbrev-expand-hook}
+ Expanding any abbrev first runs the hook @code{pre-abbrev-expand-hook}
(@pxref{Hooks}).
@need 1500