Mercurial > emacs
comparison lisp/play/snake.el @ 41485:28a987555ba1
(snake-mode): Remove make-local-hook.
author | Pavel Janík <Pavel@Janik.cz> |
---|---|
date | Sun, 25 Nov 2001 11:32:52 +0000 |
parents | 54c9c11abe9e |
children | dc17128932c4 |
comparison
equal
deleted
inserted
replaced
41484:eaf240f87223 | 41485:28a987555ba1 |
---|---|
324 snake-mode keybindings: | 324 snake-mode keybindings: |
325 \\{snake-mode-map} | 325 \\{snake-mode-map} |
326 " | 326 " |
327 (kill-all-local-variables) | 327 (kill-all-local-variables) |
328 | 328 |
329 (make-local-hook 'kill-buffer-hook) | |
330 (add-hook 'kill-buffer-hook 'gamegrid-kill-timer nil t) | 329 (add-hook 'kill-buffer-hook 'gamegrid-kill-timer nil t) |
331 | 330 |
332 (use-local-map snake-null-map) | 331 (use-local-map snake-null-map) |
333 | 332 |
334 (setq major-mode 'snake-mode) | 333 (setq major-mode 'snake-mode) |