changeset 2006:3f64e7ba7fdd

(rmail-get-new-mail): Reset read-only after find-file.
author Richard M. Stallman <rms@gnu.org>
date Wed, 03 Mar 1993 20:49:21 +0000
parents 9b80d7737d2b
children b1debd92d79d
files lisp/mail/rmail.el
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/rmail.el	Wed Mar 03 09:03:06 1993 +0000
+++ b/lisp/mail/rmail.el	Wed Mar 03 20:49:21 1993 +0000
@@ -489,6 +489,7 @@
   (or (verify-visited-file-modtime (current-buffer))
       (progn
 	(find-file (buffer-file-name))
+	(setq buffer-read-only t)
 	(if (verify-visited-file-modtime (current-buffer))
 	    (rmail-forget-messages))))
   (rmail-maybe-set-message-counters)