changeset 24519:2a1ffba95a70

(mail-hist-current-header-name): Don't make off-by-one-error when determining if in message body.
author Karl Heuer <kwzh@gnu.org>
date Fri, 26 Mar 1999 17:53:18 +0000
parents a0423d2b9302
children e8b7cb3fac8c
files lisp/mail/mail-hist.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/mail-hist.el	Thu Mar 25 22:59:18 1999 +0000
+++ b/lisp/mail/mail-hist.el	Fri Mar 26 17:53:18 1999 +0000
@@ -105,7 +105,7 @@
   "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