summaryrefslogtreecommitdiff
path: root/lisp/mail/mail-hist.el
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
commit827fefb712223f2cdafcf6da8630ee26917cf192 (patch)
treebe63ae39cbd9400b869a5e6c2adb2fea611f8f74 /lisp/mail/mail-hist.el
parent21ac0cdb8b5a231eaba649be587c3bf027796078 (diff)
downloademacs-827fefb712223f2cdafcf6da8630ee26917cf192.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/mail-hist.el')
-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