]> git.eshelyaron.com Git - emacs.git/commitdiff
(Defining Abbrevs): Mention `define-abbrev' 'force
authorGlenn Morris <rgm@gnu.org>
Sun, 10 Dec 2006 03:05:30 +0000 (03:05 +0000)
committerGlenn Morris <rgm@gnu.org>
Sun, 10 Dec 2006 03:05:30 +0000 (03:05 +0000)
value for system-flag argument.

lispref/abbrevs.texi

index 52b3dfe1ad6771080e76dc033479b53b476f9ac7..56d08c7393b354253cf320f7cbbebb5526dd35a5 100644 (file)
@@ -165,7 +165,10 @@ returns @code{nil}, @code{expand-abbrev} also returns @code{nil}, as
 if expansion had not really occurred.
 
 If @var{system-flag} is non-@code{nil}, that marks the abbrev as a
-``system'' abbrev with the @code{system-type} property.
+``system'' abbrev with the @code{system-type} property.  Unless
+@var{system-flag} has the value @code{force}, a ``system'' abbrev will
+not overwrite an existing definition for a non-``system'' abbrev of the
+same name.
 
 Normally the function @code{define-abbrev} sets the variable
 @code{abbrevs-changed} to @code{t}, if it actually changes the abbrev.