aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2005-08-09 02:56:24 +0000
committerRichard M. Stallman2005-08-09 02:56:24 +0000
commit47ef2dea2700fd9c90b7de48b73921b75c476a43 (patch)
tree85df38b6ff4f4d2690215c6e6f91d2f81f74bcd6
parent300ee850a481a5d80c33bc433f4f0865461f71b6 (diff)
downloademacs-47ef2dea2700fd9c90b7de48b73921b75c476a43.tar.gz
emacs-47ef2dea2700fd9c90b7de48b73921b75c476a43.zip
(gametree-mode): Use make-local-variable, not make-variable-buffer-local.
-rw-r--r--lisp/play/gametree.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/play/gametree.el b/lisp/play/gametree.el
index b2e9fb9f971..9e80024c90b 100644
--- a/lisp/play/gametree.el
+++ b/lisp/play/gametree.el
@@ -574,9 +574,9 @@ Useful to postal and email chess (and, it is hoped, also checkers, go,
574shogi, etc.) players, it is a slightly modified version of Outline mode. 574shogi, etc.) players, it is a slightly modified version of Outline mode.
575 575
576\\{gametree-mode-map}" 576\\{gametree-mode-map}"
577(auto-fill-mode 0) 577 (auto-fill-mode 0)
578(make-variable-buffer-local 'write-contents-hooks) 578 (make-local-variable 'write-contents-hooks)
579(add-hook 'write-contents-hooks 'gametree-save-and-hack-layout)) 579 (add-hook 'write-contents-hooks 'gametree-save-and-hack-layout))
580 580
581;;;; Key bindings 581;;;; Key bindings
582 582