diff lisp/mail/mailabbrev.el @ 78506:f3d6585c6931

(sendmail-pre-abbrev-expand-hook): Check for self-insert-command, not self-insert.
author Andreas Schwab <schwab@suse.de>
date Wed, 08 Aug 2007 11:51:25 +0000
parents 8e27d63c45eb
children de499b20517a 13163bbed0bf 424b655804ca
line wrap: on
line diff
--- a/lisp/mail/mailabbrev.el	Wed Aug 08 08:03:53 2007 +0000
+++ b/lisp/mail/mailabbrev.el	Wed Aug 08 11:51:25 2007 +0000
@@ -495,7 +495,7 @@
 
 	     (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 '(?@ ?. ?% ?! ?_ ?-))))