summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2002-05-04 14:17:21 +0000
committerRichard M. Stallman <rms@gnu.org>2002-05-04 14:17:21 +0000
commitd7f5c8f9d1490f8ff7796c674f5b7e9cd7fde0ab (patch)
treed21d42f610b5bed006df5514f8d8a61ff08b30a4
parent287e56d1d639478169747ebf5476fad45df08d04 (diff)
downloademacs-d7f5c8f9d1490f8ff7796c674f5b7e9cd7fde0ab.tar.gz
(mpuz-switch-to-window): Set buffer-read-only directly.
-rw-r--r--lisp/ChangeLog11
-rw-r--r--lisp/play/mpuz.el2
2 files changed, 12 insertions, 1 deletions
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 <occitan@esperanto.org>
+
+ * play/mpuz.el (mpuz-switch-to-window): Set buffer-read-only directly.
+
2002-05-04 Kim F. Storm <storm@cua.dk>
* 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 <fx@gnu.org>
+
+ * 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 <johnw@gnu.org>
* 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-mode-map>\\[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)))