diff options
author | Richard M. Stallman <rms@gnu.org> | 2002-05-04 14:17:21 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2002-05-04 14:17:21 +0000 |
commit | d7f5c8f9d1490f8ff7796c674f5b7e9cd7fde0ab (patch) | |
tree | d21d42f610b5bed006df5514f8d8a61ff08b30a4 /lisp/play | |
parent | 287e56d1d639478169747ebf5476fad45df08d04 (diff) | |
download | emacs-d7f5c8f9d1490f8ff7796c674f5b7e9cd7fde0ab.tar.gz |
(mpuz-switch-to-window): Set buffer-read-only directly.
Diffstat (limited to 'lisp/play')
-rw-r--r-- | lisp/play/mpuz.el | 2 |
1 files changed, 1 insertions, 1 deletions
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))) |