diff options
| author | Karl Heuer | 1995-04-20 21:27:14 +0000 |
|---|---|---|
| committer | Karl Heuer | 1995-04-20 21:27:14 +0000 |
| commit | e1a3a8436fc8fd917bed7ea90e8a8f22330e8767 (patch) | |
| tree | 2c1996d655940b04820828f62526f6a8ccb09419 | |
| parent | dc7e2b301d8a9348c72faaacced7d1d08100ff88 (diff) | |
| download | emacs-e1a3a8436fc8fd917bed7ea90e8a8f22330e8767.tar.gz emacs-e1a3a8436fc8fd917bed7ea90e8a8f22330e8767.zip | |
(sendmail-pre-abbrev-expand-hook): When setting the
dummy value for abbrev-start-location, use (point-max) rather than
(point), so we won't delete a "-" that happens to be at point.
| -rw-r--r-- | lisp/mail/mailabbrev.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mail/mailabbrev.el b/lisp/mail/mailabbrev.el index 27d54fed305..3245fc9e958 100644 --- a/lisp/mail/mailabbrev.el +++ b/lisp/mail/mailabbrev.el | |||
| @@ -458,7 +458,7 @@ characters which may be a part of the name of a mail alias.") | |||
| 458 | (expand-abbrev) | 458 | (expand-abbrev) |
| 459 | ;; Now set it back to what it was before. | 459 | ;; Now set it back to what it was before. |
| 460 | (set-syntax-table mail-mode-header-syntax-table))) | 460 | (set-syntax-table mail-mode-header-syntax-table))) |
| 461 | (setq abbrev-start-location (point) ; This is the trick. | 461 | (setq abbrev-start-location (point-max) ; This is the trick. |
| 462 | abbrev-start-location-buffer (current-buffer))) | 462 | abbrev-start-location-buffer (current-buffer))) |
| 463 | 463 | ||
| 464 | ;; We're not in a mail header where mail aliases should | 464 | ;; We're not in a mail header where mail aliases should |