changeset 82330:c75f4a59cea8

(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:52:06 +0000
parents 694f889fbd90
children 1580475f6186
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:14:03 2007 +0000
+++ b/lisp/mail/mailabbrev.el	Wed Aug 08 11:52:06 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 '(?@ ?. ?% ?! ?_ ?-))))