]> git.eshelyaron.com Git - emacs.git/commitdiff
(gametree-mode): Use make-local-variable, not make-variable-buffer-local.
authorRichard M. Stallman <rms@gnu.org>
Tue, 9 Aug 2005 02:56:24 +0000 (02:56 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 9 Aug 2005 02:56:24 +0000 (02:56 +0000)
lisp/play/gametree.el

index b2e9fb9f971bbb88acf26e3a47cb070950cf2dff..9e80024c90b424670f80d5c8c03158bc8fc110fe 100644 (file)
@@ -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