1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 12:21:25 -08: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:52:16 +00:00
parent 4b4a23c466
commit eac59e3cc7
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/eldoc.el (eldoc-get-fnsym-args-string): Make second

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