changeset 45113:f929d5e6ced1

(mpuz-switch-to-window): Set buffer-read-only directly.
author Richard M. Stallman <rms@gnu.org>
date Sat, 04 May 2002 14:17:07 +0000
parents 19de9bf49e2d
children 402ee6ce34ad
files lisp/play/mpuz.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/play/mpuz.el	Sat May 04 13:41:33 2002 +0000
+++ b/lisp/play/mpuz.el	Sat May 04 14:17:07 2002 +0000
@@ -367,7 +367,7 @@
   (let ((buf (mpuz-get-buffer)))
     (or buf (setq buf (mpuz-create-buffer)))
     (switch-to-buffer buf)
-    (or buffer-read-only (toggle-read-only))
+    (setq buffer-read-only t)
     (mpuz-mode)))