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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user