# HG changeset patch # User Richard M. Stallman # Date 893917579 0 # Node ID d98a0a598fb95a88e40a7a82f6944bd894ff6b7b # Parent cedd1efb28927838242cf6bdf00905028e9fe6bb (mail-abbrev-in-expansion-header-p): Use mail-header-end. diff -r cedd1efb2892 -r d98a0a598fb9 lisp/mail/mailabbrev.el --- a/lisp/mail/mailabbrev.el Thu Apr 30 06:24:03 1998 +0000 +++ b/lisp/mail/mailabbrev.el Thu Apr 30 06:26:19 1998 +0000 @@ -447,13 +447,8 @@ ;; are we at the front of an appropriate header line? (looking-at mail-abbrev-mode-regexp)) ;; - ;; ...and we are before the mail-header-separator - (< (point) - (save-excursion - (goto-char (point-min)) - (search-forward (concat "\n" mail-header-separator "\n") - nil 0) - (point)))))) + ;; ...and are we in the headers? + (< (point) (mail-header-end))))) (defvar mail-mode-abbrev-table) ; quiet the compiler