Commit 09e99870 authored by Lute Kamstra's avatar Lute Kamstra
Browse files

(blackbox-mode): Use run-mode-hooks.

parent 530b0472
......@@ -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"
(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))
(defun blackbox (num)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment