diff options
| author | Miles Bader | 2007-05-09 23:47:51 +0000 |
|---|---|---|
| committer | Miles Bader | 2007-05-09 23:47:51 +0000 |
| commit | 93fe701da42dbf1065a75c59e69ea79654ca1eba (patch) | |
| tree | 87bb1e0deb35e3f1974f975288ad5e530baa7206 | |
| parent | a57de0d420341b9f8cd56809adcaeecf3cead590 (diff) | |
| parent | 75dcf19e449ab2838b29f2cd07fdb20c26c95f4d (diff) | |
| download | emacs-93fe701da42dbf1065a75c59e69ea79654ca1eba.tar.gz emacs-93fe701da42dbf1065a75c59e69ea79654ca1eba.zip | |
Merge from emacs--rel--22
Patches applied:
* emacs--rel--22 (patch 12)
- Update from CVS
2007-05-08 Richard M. Stallman <rms@gnu.org>
* lisp/mail/mailabbrev.el (sendmail-pre-abbrev-expand-hook):
Don't include non-self-insert commands in the exception for `-'.
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-739
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/mail/mailabbrev.el | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 298684782ed..cb23ed22fbc 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -38,6 +38,11 @@ | |||
| 38 | * progmodes/python.el (python-end-of-block): Revert last change. | 38 | * progmodes/python.el (python-end-of-block): Revert last change. |
| 39 | (python-end-of-statement): Make sure we move *forward*. | 39 | (python-end-of-statement): Make sure we move *forward*. |
| 40 | 40 | ||
| 41 | 2007-05-08 Richard Stallman <rms@gnu.org> | ||
| 42 | |||
| 43 | * mail/mailabbrev.el (sendmail-pre-abbrev-expand-hook): | ||
| 44 | Don't include non-self-insert commands in the exception for `-'. | ||
| 45 | |||
| 41 | 2007-05-08 David Reitter <david.reitter@gmail.com> | 46 | 2007-05-08 David Reitter <david.reitter@gmail.com> |
| 42 | 47 | ||
| 43 | * progmodes/python.el (python-guess-indent): Check non-nullness | 48 | * progmodes/python.el (python-guess-indent): Check non-nullness |
diff --git a/lisp/mail/mailabbrev.el b/lisp/mail/mailabbrev.el index c62cba4822d..b83b3864cb4 100644 --- a/lisp/mail/mailabbrev.el +++ b/lisp/mail/mailabbrev.el | |||
| @@ -494,6 +494,8 @@ of a mail alias. The value is set up, buffer-local, when first needed.") | |||
| 494 | ;; the usual syntax table. | 494 | ;; the usual syntax table. |
| 495 | 495 | ||
| 496 | (or (and (integerp last-command-char) | 496 | (or (and (integerp last-command-char) |
| 497 | ;; Some commands such as M-> may want to expand first. | ||
| 498 | (equal this-command 'self-insert) | ||
| 497 | (or (eq (char-syntax last-command-char) ?_) | 499 | (or (eq (char-syntax last-command-char) ?_) |
| 498 | ;; Don't expand on @. | 500 | ;; Don't expand on @. |
| 499 | (memq last-command-char '(?@ ?. ?% ?! ?_ ?-)))) | 501 | (memq last-command-char '(?@ ?. ?% ?! ?_ ?-)))) |