mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-03-10 08:52:40 -07:00
Fix mpuz under text-scaling
* lisp/play/mpuz.el (mpuz-switch-to-window): Don't unconditionally turn on 'mpuz-mode', as that kills all local variables. (Bug#80567)
This commit is contained in:
parent
ba34e44cf3
commit
bb7e993734
1 changed files with 2 additions and 1 deletions
|
|
@ -333,7 +333,8 @@ You may abort a game by typing \\<mpuz-mode-map>\\[mpuz-offer-abort]."
|
|||
(mpuz-create-buffer))))
|
||||
(switch-to-buffer buf)
|
||||
(setq buffer-read-only t)
|
||||
(mpuz-mode)))
|
||||
(or (derived-mode-p 'mpuz-mode)
|
||||
(mpuz-mode))))
|
||||
|
||||
|
||||
;; Game control
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue