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-kibitz.el | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'chess-kibitz.el') diff --git a/chess-kibitz.el b/chess-kibitz.el index 7fbcaab..02e3872 100644 --- a/chess-kibitz.el +++ b/chess-kibitz.el @@ -1,4 +1,4 @@ -;;; chess-kibitz.el --- Chess kibitzing, stored as annotations +;;; chess-kibitz.el --- Chess kibitzing, stored as annotations -*- lexical-binding: t; -*- ;; Copyright (C) 2002, 2014 Free Software Foundation, Inc. @@ -28,11 +28,8 @@ (require 'chess-game) -(defvar chess-kibitz-input-last nil) -(defvar chess-kibitz-index nil) - -(make-variable-buffer-local 'chess-kibitz-input-last) -(make-variable-buffer-local 'chess-kibitz-index) +(defvar-local chess-kibitz-input-last nil) +(defvar-local chess-kibitz-index nil) (define-derived-mode chess-kibitz-mode text-mode "Kibitz" "A mode for editing chess annotations." -- cgit v1.2.3