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):

Don't include non-self-insert commands in the exception for `-'.
This commit is contained in:
Richard M. Stallman 2007-05-08 18:15:58 +00:00
parent 11c4b29d3a
commit 75dcf19e44
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2007-05-08 Richard Stallman <rms@gnu.org>
* mail/mailabbrev.el (sendmail-pre-abbrev-expand-hook):
Don't include non-self-insert commands in the exception for `-'.
2007-05-08 David Reitter <david.reitter@gmail.com>
* progmodes/python.el (python-guess-indent): Check non-nullness

View File

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