From: Richard M. Stallman Date: Tue, 9 Oct 2007 01:35:07 +0000 (+0000) Subject: (gamegrid-setup-default-font): Use face-spec-set. X-Git-Tag: emacs-pretest-23.0.90~10486 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7b3cf84ec70e00be73ae752b62690df2f01bdf56;p=emacs.git (gamegrid-setup-default-font): Use face-spec-set. --- diff --git a/lisp/play/gamegrid.el b/lisp/play/gamegrid.el index 54e766a5878..813c75d1731 100644 --- a/lisp/play/gamegrid.el +++ b/lisp/play/gamegrid.el @@ -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))