aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1998-04-30 06:26:19 +0000
committerRichard M. Stallman1998-04-30 06:26:19 +0000
commit13aa1cde7f1b094026aa254fda2bffe819dd8ff9 (patch)
tree19aa4aba6a1fe9c97a110fc8a762f08b7922d22c
parentfc48f3818e66d4094347c56b43141ef0f1a6480d (diff)
downloademacs-13aa1cde7f1b094026aa254fda2bffe819dd8ff9.tar.gz
emacs-13aa1cde7f1b094026aa254fda2bffe819dd8ff9.zip
(mail-abbrev-in-expansion-header-p): Use mail-header-end.
-rw-r--r--lisp/mail/mailabbrev.el9
1 files changed, 2 insertions, 7 deletions
diff --git a/lisp/mail/mailabbrev.el b/lisp/mail/mailabbrev.el
index 14ca13b8b17..8a3b6721223 100644
--- a/lisp/mail/mailabbrev.el
+++ b/lisp/mail/mailabbrev.el
@@ -447,13 +447,8 @@ of a mail alias.")
447 ;; are we at the front of an appropriate header line? 447 ;; are we at the front of an appropriate header line?
448 (looking-at mail-abbrev-mode-regexp)) 448 (looking-at mail-abbrev-mode-regexp))
449 ;; 449 ;;
450 ;; ...and we are before the mail-header-separator 450 ;; ...and are we in the headers?
451 (< (point) 451 (< (point) (mail-header-end)))))
452 (save-excursion
453 (goto-char (point-min))
454 (search-forward (concat "\n" mail-header-separator "\n")
455 nil 0)
456 (point))))))
457 452
458(defvar mail-mode-abbrev-table) ; quiet the compiler 453(defvar mail-mode-abbrev-table) ; quiet the compiler
459 454