]> git.eshelyaron.com Git - emacs.git/commitdiff
(mail-hist-current-header-name): Don't make
authorKarl Heuer <kwzh@gnu.org>
Fri, 26 Mar 1999 17:53:18 +0000 (17:53 +0000)
committerKarl Heuer <kwzh@gnu.org>
Fri, 26 Mar 1999 17:53:18 +0000 (17:53 +0000)
off-by-one-error when determining if in message body.

lisp/mail/mail-hist.el

index 8fc4be741c4561b4fa50bbfb5e2a4e592a1008b5..5f324ea61a1376d40d439410c8646382814e9f27 100644 (file)
@@ -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