Mercurial > emacs
changeset 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 | 7d98bae59180 |
children | 06b5b3f1371b |
files | lispref/abbrevs.texi |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lispref/abbrevs.texi Sun Dec 10 03:05:20 2006 +0000 +++ b/lispref/abbrevs.texi Sun Dec 10 03:05:30 2006 +0000 @@ -165,7 +165,10 @@ 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.