Mercurial > emacs
changeset 63239:f48178f79206
(blackbox-mode): Use run-mode-hooks.
author | Lute Kamstra <lute@gnu.org> |
---|---|
date | Fri, 10 Jun 2005 12:03:06 +0000 |
parents | 5592f504d53f |
children | c1ed13b98cf0 |
files | lisp/play/blackbox.el |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/play/blackbox.el Fri Jun 10 11:38:27 2005 +0000 +++ b/lisp/play/blackbox.el Fri Jun 10 12:03:06 2005 +0000 @@ -117,14 +117,14 @@ \\<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)