1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-26 07:33:47 +00:00

(Expanding Abbrevs): Expansion happens only when Abbrev mode is enabled.

This commit is contained in:
Richard M. Stallman 2006-10-23 05:13:24 +00:00
parent 7902148a5e
commit ccb467ec47
2 changed files with 12 additions and 6 deletions

View File

@ -1,3 +1,8 @@
2006-10-23 Richard Stallman <rms@gnu.org>
* abbrevs.texi (Expanding Abbrevs): Expansion happens only when
Abbrev mode is enabled.
2006-10-20 Masatake YAMATO <jet@gyve.org>
* cc-mode.texi (Sample .emacs File): Added missing `)' in

View File

@ -146,12 +146,13 @@ abbrev definitions, both global and local.
@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