changeset 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 480b6a56b1bf
children 18a03d09045b
files lisp/mail/mailabbrev.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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 '(?@ ?. ?% ?! ?_ ?-))))