mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-19 18:13:55 +00:00
(gamegrid-setup-default-font): Use face-spec-set.
This commit is contained in:
parent
228c21924a
commit
7b3cf84ec7
@ -320,7 +320,7 @@ static unsigned char gamegrid_bits[] = {
|
||||
(< max-height height))
|
||||
(setq max-height height))))))
|
||||
(when (and max-height (< max-height 1))
|
||||
(set-face-attribute gamegrid-face nil :height max-height)))))
|
||||
(face-spec-set gamegrid-face `((t :height ,max-height)))))))
|
||||
|
||||
(defun gamegrid-initialize-display ()
|
||||
(setq gamegrid-display-mode (gamegrid-display-type))
|
||||
|
Loading…
Reference in New Issue
Block a user