# HG changeset patch # User Richard M. Stallman # Date 780865665 0 # Node ID 569ed1f55710797c4264aef4c5d5893fa2761a19 # Parent c8ef8dc59108e003933e6789ee573b083581623a (add-abbrev, inverse-add-abbrev): Clear text properties from NAME. diff -r c8ef8dc59108 -r 569ed1f55710 lisp/abbrev.el --- a/lisp/abbrev.el Thu Sep 29 18:54:19 1994 +0000 +++ b/lisp/abbrev.el Thu Sep 29 19:07:45 1994 +0000 @@ -217,6 +217,7 @@ (read-string (format (if exp "%s abbrev for \"%s\": " "Undefine %s abbrev: ") type exp))) + (set-text-properties 0 (length name) nil name) (if (or (null exp) (not (abbrev-expansion name table)) (y-or-n-p (format "%s expands to \"%s\"; redefine? " @@ -250,6 +251,7 @@ (forward-word (- arg)) (setq name (buffer-substring (point) (progn (forward-word 1) (setq nameloc (point)))))) + (set-text-properties 0 (length name) nil name) (setq exp (read-string (format "%s expansion for \"%s\": " type name))) (if (or (not (abbrev-expansion name table))