diff options
author | Lute Kamstra <lute@gnu.org> | 2005-06-10 12:03:06 +0000 |
---|---|---|
committer | Lute Kamstra <lute@gnu.org> | 2005-06-10 12:03:06 +0000 |
commit | 09e9987080371fbab84d6fdca5e5c38ef1b590ba (patch) | |
tree | 711cb9681b4fade22f5ad744dfc88a8d31e3915d /lisp/play/blackbox.el | |
parent | 530b0472e7bf440ac24be3758e975764be851b04 (diff) | |
download | emacs-09e9987080371fbab84d6fdca5e5c38ef1b590ba.tar.gz |
(blackbox-mode): Use run-mode-hooks.
Diffstat (limited to 'lisp/play/blackbox.el')
-rw-r--r-- | lisp/play/blackbox.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/play/blackbox.el b/lisp/play/blackbox.el index 6fad15b8155..02f8cb5eeb0 100644 --- a/lisp/play/blackbox.el +++ b/lisp/play/blackbox.el @@ -117,14 +117,14 @@ The usual mnemonic keys move the cursor around the box. \\<blackbox-mode-map>\\[bb-bol] and \\[bb-eol] move to the beginning and end of line, respectively. \\[bb-romp] -- send in a ray from point, or toggle a ball at point -\\[bb-done] -- end game and get score -" +\\[bb-done] -- end game and get score" (interactive) (kill-all-local-variables) (use-local-map blackbox-mode-map) (setq truncate-lines t) (setq major-mode 'blackbox-mode) - (setq mode-name "Blackbox")) + (setq mode-name "Blackbox") + (run-mode-hooks 'blackbox-mode-hook)) ;;;###autoload (defun blackbox (num) |