mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-28 10:56:36 +00:00
(mail-abbrev-in-expansion-header-p): Use mail-header-end.
This commit is contained in:
parent
fc48f3818e
commit
13aa1cde7f
@ -447,13 +447,8 @@ of a mail alias.")
|
||||
;; 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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user