diff options
| author | Craig Jennings <c@cjennings.net> | 2025-10-19 18:49:00 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2025-10-19 18:49:00 -0500 |
| commit | e1d60d2110987f1060c0b37d032621c669d97d5e (patch) | |
| tree | 2ff171a86f28593da724bb754d80278e74cf8f5d /chess-scid.el | |
| parent | 865b2ab11469f3bd1bc4d7b3669cb4626c37be08 (diff) | |
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.
Diffstat (limited to 'chess-scid.el')
| -rw-r--r-- | chess-scid.el | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/chess-scid.el b/chess-scid.el index 58ca27a..837249f 100644 --- a/chess-scid.el +++ b/chess-scid.el @@ -1,4 +1,4 @@ -;;; chess-scid.el --- A game database that uses SCID for storage/retrieval +;;; chess-scid.el --- A game database that uses SCID for storage/retrieval -*- lexical-binding: t; -*- ;; Copyright (C) 2002, 2004, 2008 Free Software Foundation, Inc. @@ -37,9 +37,7 @@ '((failed-load . "Failed to load game %d from ChessDB") (failed-find-end . "Failed to locate end of game %d in ChessDB"))) -(defvar chess-scid-process) - -(make-variable-buffer-local 'chess-scid-process) +(defvar-local chess-scid-process nil) (defsubst chess-scid-send (string) (process-send-string chess-scid-process (concat string "\n"))) |
