(sendmail-pre-abbrev-expand-hook): Check for
authorAndreas Schwab <schwab@suse.de>
Wed, 8 Aug 2007 11:51:48 +0000 (11:51 +0000)
committerAndreas Schwab <schwab@suse.de>
Wed, 8 Aug 2007 11:51:48 +0000 (11:51 +0000)
self-insert-command, not self-insert.

lisp/ChangeLog
lisp/mail/mailabbrev.el

index 29e9027..f817d23 100644 (file)
@@ -1,3 +1,8 @@
+2007-08-08  Andreas Schwab  <schwab@suse.de>
+
+       * mail/mailabbrev.el (sendmail-pre-abbrev-expand-hook): Check for
+       self-insert-command, not self-insert.
+
 2007-08-08  Glenn Morris  <rgm@gnu.org>
 
        * emacs-lisp/checkdoc.el (checkdoc-ispell-lisp-words): Remove `iff'.
index b3e2c05..8862e6c 100644 (file)
@@ -495,7 +495,7 @@ of a mail alias.  The value is set up, buffer-local, when first needed.")
 
             (or (and (integerp last-command-char)
                      ;; Some commands such as M-> may want to expand first.
-                     (equal this-command 'self-insert)
+                     (equal this-command 'self-insert-command)
                      (or (eq (char-syntax last-command-char) ?_)
                          ;; Don't expand on @.
                          (memq last-command-char '(?@ ?. ?% ?! ?_ ?-))))