Commit 934111d0 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(rmail-get-new-mail): Avoid error if file is empty.

Was done in 1994-01-14T18:35:09Z!rms@gnu.org:
(rmail-set-message-counters): Avoid errors moving backwd if new file.
parent 6fdc9683
......@@ -696,7 +696,7 @@ argument causes us to read a file name and use that file as the inbox."
(or (zerop new-messages)
(let (success)
(widen)
(search-backward "\n\^_")
(search-backward "\n\^_" nil t)
(narrow-to-region (point) (point-max))
(goto-char (1+ (point-min)))
(rmail-count-new-messages)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment