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-eco.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'chess-eco.el') diff --git a/chess-eco.el b/chess-eco.el index d3ffff0..43f1c94 100644 --- a/chess-eco.el +++ b/chess-eco.el @@ -1,4 +1,4 @@ -;;; chess-eco.el --- Chess opening classification +;;; chess-eco.el --- Chess opening classification -*- lexical-binding: t; -*- ;; Copyright (C) 2004, 2014 Free Software Foundation, Inc. @@ -77,8 +77,7 @@ (current-buffer)) (write-file (cadr command-line-args-left)))))) -(defvar chess-eco-last-opening nil) -(make-variable-buffer-local 'chess-eco-last-opening) +(defvar-local chess-eco-last-opening nil) (defun chess-eco-classify (game) (when chess-eco-hash-table -- cgit v1.2.3