From 934111d04f68815eb7c9bb4e32d91b85e62b5ac7 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 16 Jan 1994 20:26:28 +0000 Subject: [PATCH] (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. --- lisp/mail/rmail.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index 28ed652520..bd788b78d8 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el @@ -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) -- 2.39.2