summaryrefslogtreecommitdiff
path: root/chess-crafty.el
diff options
context:
space:
mode:
Diffstat (limited to 'chess-crafty.el')
-rw-r--r--chess-crafty.el10
1 files changed, 3 insertions, 7 deletions
diff --git a/chess-crafty.el b/chess-crafty.el
index d69a5ea..86e410e 100644
--- a/chess-crafty.el
+++ b/chess-crafty.el
@@ -1,4 +1,4 @@
-;;; chess-crafty.el --- Play against crafty!
+;;; chess-crafty.el --- Play against crafty! -*- lexical-binding: t; -*-
;; Copyright (C) 2002, 2004, 2014 Free Software Foundation, Inc.
@@ -40,15 +40,11 @@
:type 'string
:group 'chess-crafty)
-(defvar chess-crafty-evaluation nil)
+(defvar-local chess-crafty-evaluation nil)
-(make-variable-buffer-local 'chess-crafty-evaluation)
-
-(defvar chess-crafty-analyzing-p nil
+(defvar-local chess-crafty-analyzing-p nil
"Non-nil if Crafty is currently in analysis mode.")
-(make-variable-buffer-local 'chess-crafty-analyzing-p)
-
(defvar chess-crafty-regexp-alist
(list
(cons (concat "move\\s-+\\(" chess-algebraic-regexp "\\)\\s-*$")