summaryrefslogtreecommitdiff
path: root/chess-network.el
diff options
context:
space:
mode:
Diffstat (limited to 'chess-network.el')
-rw-r--r--chess-network.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/chess-network.el b/chess-network.el
index 493198b..b8ab54b 100644
--- a/chess-network.el
+++ b/chess-network.el
@@ -1,4 +1,4 @@
-;;; chess-network.el --- Play against an opponent over the network
+;;; chess-network.el --- Play against an opponent over the network -*- lexical-binding: t; -*-
;; Copyright (C) 2002, 2003, 2008 Free Software Foundation, Inc.
@@ -123,8 +123,7 @@
(setq str (replace-match "\n" t t str)))
str)
-(defvar chess-network-kind)
-(make-variable-buffer-local 'chess-network-kind)
+(defvar-local chess-network-kind nil)
(defun chess-network-handler (game event &rest args)
"Initialize the network chess engine."