aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Heuer1999-03-26 17:53:18 +0000
committerKarl Heuer1999-03-26 17:53:18 +0000
commit91245cb0427bdfbef643ae78fd73076616afcfe8 (patch)
treec07ad9cba5c45b40a5933f62347f77bef121408c
parent0ece9ef6bf6e757d7f3c4243ee1dc4c79e85be8c (diff)
downloademacs-91245cb0427bdfbef643ae78fd73076616afcfe8.tar.gz
emacs-91245cb0427bdfbef643ae78fd73076616afcfe8.zip
(mail-hist-current-header-name): Don't make
off-by-one-error when determining if in message body.
-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."
105 "Get name of mail header point is currently in, without the colon. 105 "Get name of mail header point is currently in, without the colon.
106Returns nil if not in a header, implying that point is in the body of 106Returns nil if not in a header, implying that point is in the body of
107the message." 107the message."
108 (if (> (point) (mail-text-start)) 108 (if (>= (point) (mail-text-start))
109 nil ; then we are in the body of the message 109 nil ; then we are in the body of the message
110 (save-excursion 110 (save-excursion
111 (let* ((body-start 111 (let* ((body-start