diff options
author | Richard M. Stallman <rms@gnu.org> | 2007-10-09 01:35:07 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2007-10-09 01:35:07 +0000 |
commit | 7b3cf84ec70e00be73ae752b62690df2f01bdf56 (patch) | |
tree | 9fd107cb20cb73e6cf3a52c1a0238208a62faf2c /lisp/play/gamegrid.el | |
parent | 228c21924a2a6e922b570837e68f1232e8bcdcbb (diff) | |
download | emacs-7b3cf84ec70e00be73ae752b62690df2f01bdf56.tar.gz |
(gamegrid-setup-default-font): Use face-spec-set.
Diffstat (limited to 'lisp/play/gamegrid.el')
-rw-r--r-- | lisp/play/gamegrid.el | 2 |
1 files changed, 1 insertions, 1 deletions
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)) |