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. --- features/support/env.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'features/support') diff --git a/features/support/env.el b/features/support/env.el index 3429e34..527088e 100644 --- a/features/support/env.el +++ b/features/support/env.el @@ -1,3 +1,5 @@ +;;; env.el --- Test environment setup -*- lexical-binding: t; -*- + (require 'f) (defvar emacs-chess-support-path @@ -22,7 +24,7 @@ (require 'chess) (require 'espuds) (require 'ert) -(require 'cl) +(require 'cl-lib) (Setup (defvar test-display nil) @@ -62,3 +64,5 @@ (Teardown ;; After when everything has been run ) + +;;; env.el ends here -- cgit v1.2.3