1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-29 07:58:28 +00:00

Fix recent gamegrid.el change for nox build

* lisp/play/gamegrid.el (gamegrid-make-glyph): Declare
image-scaling-factor as special before dynamically binding it, for
the sake of --without-x builds which do not preload lisp/image.el.
This commit is contained in:
Basil L. Contovounesios 2022-08-26 13:12:15 +03:00
parent 0f561d0e5c
commit 2888a2e076

View File

@ -347,6 +347,8 @@ format."
(gamegrid-match-spec-list (cdr spec-list)))))
(defun gamegrid-make-glyph (data-spec-list color-spec-list)
;; image.el is not preloaded in --without-x builds.
(defvar image-scaling-factor)
(let ((data (gamegrid-match-spec-list data-spec-list))
(color (gamegrid-match-spec-list color-spec-list))
(image-scaling-factor 1.0))