summaryrefslogtreecommitdiff
path: root/lisp/play/mpuz.el
diff options
context:
space:
mode:
authorLute Kamstra <lute@gnu.org>2005-05-26 15:26:09 +0000
committerLute Kamstra <lute@gnu.org>2005-05-26 15:26:09 +0000
commitc83c96545bef192935a4681aa7a9361c8454ea5a (patch)
tree82fbd3ba79a619b8816418bff0a7c00be17b07cb /lisp/play/mpuz.el
parente1c31ddba8d6832cee2fe0b565fa0414b91819b9 (diff)
downloademacs-c83c96545bef192935a4681aa7a9361c8454ea5a.tar.gz
* play/5x5.el (5x5-mode):
* play/decipher.el (decipher-mode, decipher-stats-mode): * play/gomoku.el (gomoku-mode): * play/snake.el (snake-mode): * play/solitaire.el (solitaire-mode): * play/tetris.el (tetris-mode): Use run-mode-hooks. * play/landmark.el (lm-mode): * play/mpuz.el (mpuz-mode): Use kill-all-local-variables and run-mode-hooks.
Diffstat (limited to 'lisp/play/mpuz.el')
-rw-r--r--lisp/play/mpuz.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/play/mpuz.el b/lisp/play/mpuz.el
index a637a2e98d1..849e87a28b0 100644
--- a/lisp/play/mpuz.el
+++ b/lisp/play/mpuz.el
@@ -129,11 +129,12 @@ To leave the game to do other editing work, just switch buffers.
Then you may resume the game with M-x mpuz.
You may abort a game by typing \\<mpuz-mode-map>\\[mpuz-offer-abort]."
(interactive)
+ (kill-all-local-variables)
(setq major-mode 'mpuz-mode
mode-name "Mult Puzzle"
tab-width 30)
(use-local-map mpuz-mode-map)
- (run-hooks 'mpuz-mode-hook))
+ (run-mode-hooks 'mpuz-mode-hook))
;; Some variables for statistics