From: Basil L. Contovounesios Date: Fri, 26 Aug 2022 10:12:15 +0000 (+0300) Subject: Fix recent gamegrid.el change for nox build X-Git-Tag: emacs-29.0.90~1893^2~20 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2888a2e076e0ffea098b435b8b124acaeb6a5d0b;p=emacs.git 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. --- diff --git a/lisp/play/gamegrid.el b/lisp/play/gamegrid.el index 8da4205af59..8cff67c5bcc 100644 --- a/lisp/play/gamegrid.el +++ b/lisp/play/gamegrid.el @@ -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))