changeset 5611:16c603bdc2a3

(rmail-get-new-mail): Avoid error if file is empty. Was done in 1.79: (rmail-set-message-counters): Avoid errors moving backwd if new file.
author Richard M. Stallman <rms@gnu.org>
date Sun, 16 Jan 1994 20:26:28 +0000
parents ccd6159c8409
children bf68550ececf
files lisp/mail/rmail.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/rmail.el	Sun Jan 16 19:31:08 1994 +0000
+++ b/lisp/mail/rmail.el	Sun Jan 16 20:26:28 1994 +0000
@@ -696,7 +696,7 @@
 	    (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)