1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00

(mail-hist-current-header-name): Don't make

off-by-one-error when determining if in message body.
This commit is contained in:
Karl Heuer 1999-03-26 17:53:18 +00:00
parent 0ece9ef6bf
commit 91245cb042

View File

@ -105,7 +105,7 @@ Oldest elements are dumped first."
"Get name of mail header point is currently in, without the colon. "Get name of mail header point is currently in, without the colon.
Returns nil if not in a header, implying that point is in the body of Returns nil if not in a header, implying that point is in the body of
the message." the message."
(if (> (point) (mail-text-start)) (if (>= (point) (mail-text-start))
nil ; then we are in the body of the message nil ; then we are in the body of the message
(save-excursion (save-excursion
(let* ((body-start (let* ((body-start