From e1d60d2110987f1060c0b37d032621c669d97d5e Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 19 Oct 2025 18:49:00 -0500 Subject: fix: all: fixes to get emacs-chess working on 30.2 - added lexical-binding headers to all source files - replaced make-variable-buffer-local with defvar-local throughout source code - replaced deprecated cl library with cl-lib, including replacing assert with cl-assert to emacs-chess-steps.el - added proper headers and footers to test files when missing - populated chess images and chess sounds directory - fixed defcustom calling directory-files without error handling. xboard installation no longer required. --- chess-database.el | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'chess-database.el') 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'"))) -- cgit v1.2.3