summaryrefslogtreecommitdiff
path: root/lisp/play
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2021-01-31 05:41:51 +0100
committerStefan Kangas <stefan@marxist.se>2021-01-31 05:50:10 +0100
commita0b743da19a5020436f9a46453b1817045483c98 (patch)
tree5af81621be587c12cf4bad28f7f4b22c95436dd0 /lisp/play
parent31ec1a7d329cc9374b16c5831d30248c99e93dfb (diff)
downloademacs-a0b743da19a5020436f9a46453b1817045483c98.tar.gz
; Fix my previous commit
* lisp/play/5x5.el (5x5-solver-output): Prefer defvar-local. * lisp/play/gamegrid.el (gamegrid-display-table): Provide default value.
Diffstat (limited to 'lisp/play')
-rw-r--r--lisp/play/5x5.el2
-rw-r--r--lisp/play/gamegrid.el2
2 files changed, 2 insertions, 2 deletions
diff --git a/lisp/play/5x5.el b/lisp/play/5x5.el
index c89188c0233..05e61dfe401 100644
--- a/lisp/play/5x5.el
+++ b/lisp/play/5x5.el
@@ -141,7 +141,7 @@
map)
"Local keymap for the 5x5 game.")
-(5x5-defvar-local 5x5-solver-output nil
+(defvar-local 5x5-solver-output nil
"List that is the output of an arithmetic solver.
This list L is such that
diff --git a/lisp/play/gamegrid.el b/lisp/play/gamegrid.el
index 34787d928eb..8b64dfdf9b5 100644
--- a/lisp/play/gamegrid.el
+++ b/lisp/play/gamegrid.el
@@ -50,7 +50,7 @@
(defvar-local gamegrid-display-mode nil)
-(defvar-local gamegrid-display-table)
+(defvar-local gamegrid-display-table nil)
(defvar-local gamegrid-face-table nil)