changeset 11504:ae5b033ad31f

(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.
author Karl Heuer <kwzh@gnu.org>
date Thu, 20 Apr 1995 21:27:14 +0000
parents 9d8bb1074fd8
children a6d413bea07e
files lisp/mail/mailabbrev.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/mailabbrev.el	Thu Apr 20 21:15:39 1995 +0000
+++ b/lisp/mail/mailabbrev.el	Thu Apr 20 21:27:14 1995 +0000
@@ -458,7 +458,7 @@
 		   (expand-abbrev)
 		   ;; Now set it back to what it was before.
 		   (set-syntax-table mail-mode-header-syntax-table)))
-	     (setq abbrev-start-location (point) ; This is the trick.
+	     (setq abbrev-start-location (point-max) ; This is the trick.
 		   abbrev-start-location-buffer (current-buffer)))
 
 	 ;; We're not in a mail header where mail aliases should