summaryrefslogtreecommitdiff
path: root/lispref
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2006-12-10 03:05:30 +0000
committerGlenn Morris <rgm@gnu.org>2006-12-10 03:05:30 +0000
commit4e34846db4ee44e542637d23d3fc24ec6f5bea3b (patch)
tree3618831e1bf6be89ef4bcdbb50d060372b521d71 /lispref
parent8d4a66af92cb6f34559757a8fcc7be50ae049c20 (diff)
downloademacs-4e34846db4ee44e542637d23d3fc24ec6f5bea3b.tar.gz
(Defining Abbrevs): Mention `define-abbrev' 'force
value for system-flag argument.
Diffstat (limited to 'lispref')
-rw-r--r--lispref/abbrevs.texi5
1 files changed, 4 insertions, 1 deletions
diff --git a/lispref/abbrevs.texi b/lispref/abbrevs.texi
index 52b3dfe1ad6..56d08c7393b 100644
--- a/lispref/abbrevs.texi
+++ b/lispref/abbrevs.texi
@@ -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.