From 75dcf19e449ab2838b29f2cd07fdb20c26c95f4d Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 8 May 2007 18:15:58 +0000 Subject: (sendmail-pre-abbrev-expand-hook): Don't include non-self-insert commands in the exception for `-'. --- lisp/mail/mailabbrev.el | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lisp/mail') diff --git a/lisp/mail/mailabbrev.el b/lisp/mail/mailabbrev.el index c62cba4822d..b83b3864cb4 100644 --- a/lisp/mail/mailabbrev.el +++ b/lisp/mail/mailabbrev.el @@ -494,6 +494,8 @@ of a mail alias. The value is set up, buffer-local, when first needed.") ;; the usual syntax table. (or (and (integerp last-command-char) + ;; Some commands such as M-> may want to expand first. + (equal this-command 'self-insert) (or (eq (char-syntax last-command-char) ?_) ;; Don't expand on @. (memq last-command-char '(?@ ?. ?% ?! ?_ ?-)))) -- cgit v1.2.1