# HG changeset patch # User Karl Heuer # Date 904163172 0 # Node ID a0082bd79e9166b81b52759904dae303b42612aa # Parent a47a69af14c8a2fa43d5dc140002bcb1b618a423 (mail-hist-current-header-name): Fix test. (mail-hist-current-header-contents): Use mail-text-start. diff -r a47a69af14c8 -r a0082bd79e91 lisp/mail/mail-hist.el --- a/lisp/mail/mail-hist.el Wed Aug 26 20:08:30 1998 +0000 +++ b/lisp/mail/mail-hist.el Wed Aug 26 20:26:12 1998 +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 @@ -172,7 +172,7 @@ (mail-hist-beginning-of-header) (let ((start (point))) (or (mail-hist-forward-header 1) - (goto-char (mail-header-start))) + (goto-char (mail-text-start))) (beginning-of-line) (buffer-substring start (1- (point))))))