comparison lispref/abbrevs.texi @ 74550:296e4310eeb6

(Defining Abbrevs): Mention `define-abbrev' 'force value for system-flag argument.
author Glenn Morris <rgm@gnu.org>
date Sun, 10 Dec 2006 03:05:30 +0000
parents 067115a6e738
children f43c6119c6c4
comparison
equal deleted inserted replaced
74549:7d98bae59180 74550:296e4310eeb6
163 inhibits insertion of the character. By contrast, if @var{hook} 163 inhibits insertion of the character. By contrast, if @var{hook}
164 returns @code{nil}, @code{expand-abbrev} also returns @code{nil}, as 164 returns @code{nil}, @code{expand-abbrev} also returns @code{nil}, as
165 if expansion had not really occurred. 165 if expansion had not really occurred.
166 166
167 If @var{system-flag} is non-@code{nil}, that marks the abbrev as a 167 If @var{system-flag} is non-@code{nil}, that marks the abbrev as a
168 ``system'' abbrev with the @code{system-type} property. 168 ``system'' abbrev with the @code{system-type} property. Unless
169 @var{system-flag} has the value @code{force}, a ``system'' abbrev will
170 not overwrite an existing definition for a non-``system'' abbrev of the
171 same name.
169 172
170 Normally the function @code{define-abbrev} sets the variable 173 Normally the function @code{define-abbrev} sets the variable
171 @code{abbrevs-changed} to @code{t}, if it actually changes the abbrev. 174 @code{abbrevs-changed} to @code{t}, if it actually changes the abbrev.
172 (This is so that some commands will offer to save the abbrevs.) It 175 (This is so that some commands will offer to save the abbrevs.) It
173 does not do this for a ``system'' abbrev, since those won't be saved 176 does not do this for a ``system'' abbrev, since those won't be saved