From d7f5c8f9d1490f8ff7796c674f5b7e9cd7fde0ab Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 4 May 2002 14:17:21 +0000 Subject: [PATCH] (mpuz-switch-to-window): Set buffer-read-only directly. --- lisp/ChangeLog | 11 +++++++++++ lisp/play/mpuz.el | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 8e62b8ac391..e7cfe1c6adc 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,9 +1,20 @@ +2002-05-04 Daniel Pfeiffer + + * play/mpuz.el (mpuz-switch-to-window): Set buffer-read-only directly. + 2002-05-04 Kim F. Storm * cus-edit.el (custom-buffer-verbose-help): New variable. (custom-buffer-create-internal): Remove verbose introduction in customization buffer when it is nil. +2002-05-03 Dave Love + + * international/mule-cmds.el (select-safe-coding-system): + Don't offer coding systems that use locking shift. + Ask for confirmation if chosen coding system disagrees with + a `coding:' spec in the file. + 2002-05-03 John Wiegley * eshell/esh-var.el (eshell-modify-global-environment): Added this diff --git a/lisp/play/mpuz.el b/lisp/play/mpuz.el index 63de2bcb2d9..f7ded1a360e 100644 --- a/lisp/play/mpuz.el +++ b/lisp/play/mpuz.el @@ -367,7 +367,7 @@ You may abort a game by typing \\\\[mpuz-offer-abort]." (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))) -- 2.39.5