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:
parent
11c4b29d3a
commit
75dcf19e44
@ -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
|
||||
|
@ -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 '(?@ ?. ?% ?! ?_ ?-))))
|
||||
|
Loading…
Reference in New Issue
Block a user