]> git.eshelyaron.com Git - emacs.git/commitdiff
(sendmail-pre-abbrev-expand-hook): Check for
authorAndreas Schwab <schwab@suse.de>
Wed, 8 Aug 2007 11:52:16 +0000 (11:52 +0000)
committerAndreas Schwab <schwab@suse.de>
Wed, 8 Aug 2007 11:52:16 +0000 (11:52 +0000)
self-insert-command, not self-insert.

lisp/ChangeLog
lisp/mail/mailabbrev.el

index c80c0b07cf333834842bb2ed0cb8f3ca2f92a159..9b8a5fedbee42debc9f61a4845fb9f09e20df461 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/eldoc.el (eldoc-get-fnsym-args-string): Make second
index b3e2c051e7d129dc80653a280edceb9e051c761a..8862e6ca2d2d2cd143850ed63af5f62ff90f1e91 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 '(?@ ?. ?% ?! ?_ ?-))))