summaryrefslogtreecommitdiff
path: root/lisp/mail
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1999-03-26 17:53:18 +0000
committerKarl Heuer <kwzh@gnu.org>1999-03-26 17:53:18 +0000
commit91245cb0427bdfbef643ae78fd73076616afcfe8 (patch)
treec07ad9cba5c45b40a5933f62347f77bef121408c /lisp/mail
parent0ece9ef6bf6e757d7f3c4243ee1dc4c79e85be8c (diff)
downloademacs-91245cb0427bdfbef643ae78fd73076616afcfe8.tar.gz
(mail-hist-current-header-name): Don't make
off-by-one-error when determining if in message body.
Diffstat (limited to 'lisp/mail')
-rw-r--r--lisp/mail/mail-hist.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mail/mail-hist.el b/lisp/mail/mail-hist.el
index 8fc4be741c4..5f324ea61a1 100644
--- a/lisp/mail/mail-hist.el
+++ b/lisp/mail/mail-hist.el
@@ -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