summaryrefslogtreecommitdiff
path: root/chess-database.el
diff options
context:
space:
mode:
Diffstat (limited to 'chess-database.el')
-rw-r--r--chess-database.el6
1 files changed, 2 insertions, 4 deletions
diff --git a/chess-database.el b/chess-database.el
index c801947..3c36688 100644
--- a/chess-database.el
+++ b/chess-database.el
@@ -1,4 +1,4 @@
-;;; chess-database.el --- Basic code for manipulating game databases
+;;; chess-database.el --- Basic code for manipulating game databases -*- lexical-binding: t; -*-
;; Copyright (C) 2002, 2004, 2008 Free Software Foundation, Inc.
@@ -32,9 +32,7 @@
:type '(repeat (symbol :tag "Module"))
:group 'chess-database)
-(defvar chess-database-handler nil)
-
-(make-variable-buffer-local 'chess-database-handler)
+(defvar-local chess-database-handler nil)
(chess-message-catalog 'english
'((no-such-database . "There is no such chess database module '%s'")))