mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08: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
2 changed files with 7 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue