mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-23 07:19:15 +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:
parent
0ece9ef6bf
commit
91245cb042
@ -105,7 +105,7 @@ Oldest elements are dumped first."
|
||||
"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
|
||||
the message."
|
||||
(if (> (point) (mail-text-start))
|
||||
(if (>= (point) (mail-text-start))
|
||||
nil ; then we are in the body of the message
|
||||
(save-excursion
|
||||
(let* ((body-start
|
||||
|
Loading…
Reference in New Issue
Block a user