(message-strip-forbidden-properties): Only display on
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Sat, 15 Apr 2006 18:22:51 +0000 (18:22 +0000)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Sat, 15 Apr 2006 18:22:51 +0000 (18:22 +0000)
self-insert-command.

lisp/ChangeLog
lisp/message.el

index 2abb6d3..bda07f0 100644 (file)
@@ -1,5 +1,8 @@
 2006-04-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
+       * message.el (message-strip-forbidden-properties): Only display on
+       self-insert-command. 
+
        * hashcash.el (hashcash-insert-payment-async): Remove dead code;
        reindent. 
        (hashcash-insert-payment-async-2): Make sure the buffer is alive. 
index f0e2514..5c9a491 100644 (file)
@@ -2517,7 +2517,8 @@ These properties are essential to work, so we should never strip them."
   "Strip forbidden properties between BEGIN and END, ignoring the third arg.
 This function is intended to be called from `after-change-functions'.
 See also `message-forbidden-properties'."
-  (when (eq message-mail-alias-type 'ecomplete)
+  (when (and (eq message-mail-alias-type 'ecomplete)
+            (eq this-command 'self-insert-command))
     (message-display-abbrev))
   (when (and message-strip-special-text-properties
             (message-tamago-not-in-use-p begin))