1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-29 19:48:19 +00:00

(mpuz-switch-to-window): Set buffer-read-only directly.

This commit is contained in:
Richard M. Stallman 2002-05-04 14:17:21 +00:00
parent 287e56d1d6
commit d7f5c8f9d1
2 changed files with 12 additions and 1 deletions

View File

@ -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

View File

@ -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)))