# HG changeset patch # User Richard M. Stallman # Date 758751988 0 # Node ID 16c603bdc2a3a2a05452eb6d1f3560fc1ea1423d # Parent ccd6159c840907ddfed9af2d9617620b212e2191 (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. diff -r ccd6159c8409 -r 16c603bdc2a3 lisp/mail/rmail.el --- 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)