1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-24 07:20:37 +00:00

(sendmail-pre-abbrev-expand-hook): Check for

self-insert-command, not self-insert.
This commit is contained in:
Andreas Schwab 2007-08-08 11:51:48 +00:00
parent 42be947978
commit ece1116442
2 changed files with 6 additions and 1 deletions

View 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/checkdoc.el (checkdoc-ispell-lisp-words): Remove `iff'.

View 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 '(?@ ?. ?% ?! ?_ ?-))))