diff options
| author | Eli Zaretskii | 2026-03-08 12:00:53 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2026-03-08 12:00:53 +0200 |
| commit | bb7e993734ec246d183cb55fd4b3d03095c64984 (patch) | |
| tree | fdd3d65aa70f01ebb0f5fb0206a2290ed9d18497 | |
| parent | ba34e44cf3ce438629be020ca60774d1d9b8569a (diff) | |
| download | emacs-bb7e993734ec246d183cb55fd4b3d03095c64984.tar.gz emacs-bb7e993734ec246d183cb55fd4b3d03095c64984.zip | |
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)
| -rw-r--r-- | lisp/play/mpuz.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/play/mpuz.el b/lisp/play/mpuz.el index a5125da3dfb..72169ba4a74 100644 --- a/lisp/play/mpuz.el +++ b/lisp/play/mpuz.el | |||
| @@ -333,7 +333,8 @@ You may abort a game by typing \\<mpuz-mode-map>\\[mpuz-offer-abort]." | |||
| 333 | (mpuz-create-buffer)))) | 333 | (mpuz-create-buffer)))) |
| 334 | (switch-to-buffer buf) | 334 | (switch-to-buffer buf) |
| 335 | (setq buffer-read-only t) | 335 | (setq buffer-read-only t) |
| 336 | (mpuz-mode))) | 336 | (or (derived-mode-p 'mpuz-mode) |
| 337 | (mpuz-mode)))) | ||
| 337 | 338 | ||
| 338 | 339 | ||
| 339 | ;; Game control | 340 | ;; Game control |