From: Richard M. Stallman Date: Sat, 4 May 2002 14:17:21 +0000 (+0000) Subject: (mpuz-switch-to-window): Set buffer-read-only directly. X-Git-Tag: ttn-vms-21-2-B4~15196 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d7f5c8f9d1490f8ff7796c674f5b7e9cd7fde0ab;p=emacs.git (mpuz-switch-to-window): Set buffer-read-only directly. --- 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)))