From 91245cb0427bdfbef643ae78fd73076616afcfe8 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Fri, 26 Mar 1999 17:53:18 +0000 Subject: [PATCH] (mail-hist-current-header-name): Don't make off-by-one-error when determining if in message body. --- lisp/mail/mail-hist.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2