summaryrefslogtreecommitdiff
path: root/lisp/play
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2005-08-09 02:56:24 +0000
committerRichard M. Stallman <rms@gnu.org>2005-08-09 02:56:24 +0000
commit47ef2dea2700fd9c90b7de48b73921b75c476a43 (patch)
tree85df38b6ff4f4d2690215c6e6f91d2f81f74bcd6 /lisp/play
parent300ee850a481a5d80c33bc433f4f0865461f71b6 (diff)
downloademacs-47ef2dea2700fd9c90b7de48b73921b75c476a43.tar.gz
(gametree-mode): Use make-local-variable, not make-variable-buffer-local.
Diffstat (limited to 'lisp/play')
-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,
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