summaryrefslogtreecommitdiff
path: root/lisp/play/decipher.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/decipher.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/decipher.el')
-rw-r--r--lisp/play/decipher.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/play/decipher.el b/lisp/play/decipher.el
index f314a10a9e2..9ef8d0fd01f 100644
--- a/lisp/play/decipher.el
+++ b/lisp/play/decipher.el
@@ -314,7 +314,7 @@ The most useful commands are:
(lambda () (setq buffer-read-only nil
buffer-undo-list nil))
nil t)
- (run-hooks 'decipher-mode-hook)
+ (run-mode-hooks 'decipher-mode-hook)
(setq buffer-read-only t))
(put 'decipher-mode 'mode-class 'special)
@@ -998,7 +998,7 @@ Creates the statistics buffer if it doesn't exist."
major-mode 'decipher-stats-mode
mode-name "Decipher-Stats")
(use-local-map decipher-stats-mode-map)
- (run-hooks 'decipher-stats-mode-hook))
+ (run-mode-hooks 'decipher-stats-mode-hook))
(put 'decipher-stats-mode 'mode-class 'special)
;;--------------------------------------------------------------------