diff options
| author | Karl Heuer | 1999-03-26 17:53:18 +0000 |
|---|---|---|
| committer | Karl Heuer | 1999-03-26 17:53:18 +0000 |
| commit | 91245cb0427bdfbef643ae78fd73076616afcfe8 (patch) | |
| tree | c07ad9cba5c45b40a5933f62347f77bef121408c | |
| parent | 0ece9ef6bf6e757d7f3c4243ee1dc4c79e85be8c (diff) | |
| download | emacs-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.el | 2 |
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. |
| 106 | Returns nil if not in a header, implying that point is in the body of | 106 | Returns nil if not in a header, implying that point is in the body of |
| 107 | the message." | 107 | the 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 |