summaryrefslogtreecommitdiff
path: root/lisp/play/5x5.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/play/5x5.el')
-rw-r--r--lisp/play/5x5.el11
1 files changed, 6 insertions, 5 deletions
diff --git a/lisp/play/5x5.el b/lisp/play/5x5.el
index 07ef30c07d1..c89188c0233 100644
--- a/lisp/play/5x5.el
+++ b/lisp/play/5x5.el
@@ -84,23 +84,24 @@
(defmacro 5x5-defvar-local (var value doc)
"Define VAR to VALUE with documentation DOC and make it buffer local."
+ (declare (obsolete defvar-local "28.1"))
`(progn
(defvar ,var ,value ,doc)
(make-variable-buffer-local (quote ,var))))
-(5x5-defvar-local 5x5-grid nil
+(defvar-local 5x5-grid nil
"5x5 grid contents.")
-(5x5-defvar-local 5x5-x-pos 2
+(defvar-local 5x5-x-pos 2
"X position of cursor.")
-(5x5-defvar-local 5x5-y-pos 2
+(defvar-local 5x5-y-pos 2
"Y position of cursor.")
-(5x5-defvar-local 5x5-moves 0
+(defvar-local 5x5-moves 0
"Moves made.")
-(5x5-defvar-local 5x5-cracking nil
+(defvar-local 5x5-cracking nil
"Are we in cracking mode?")
(defvar 5x5-buffer-name "*5x5*"