Commit 47ef2dea authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(gametree-mode): Use make-local-variable, not make-variable-buffer-local.

parent 300ee850
......@@ -574,9 +574,9 @@ Useful to postal and email chess (and, it is hoped, also checkers, go,
shogi, etc.) players, it is a slightly modified version of Outline mode.
\\{gametree-mode-map}"
(auto-fill-mode 0)
(make-variable-buffer-local 'write-contents-hooks)
(add-hook 'write-contents-hooks 'gametree-save-and-hack-layout))
(auto-fill-mode 0)
(make-local-variable 'write-contents-hooks)
(add-hook 'write-contents-hooks 'gametree-save-and-hack-layout))
;;;; Key bindings
......
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