fix: wrong-number-of-args error on font init

set-frame-font's fourth argument was introduced in 28 and shouldn't be
used yet.

Fix 2614df72bd
This commit is contained in:
Henrik Lissner 2021-10-10 21:39:58 +02:00
parent 46ba5826cd
commit 4eeb3c7a19

View file

@ -550,7 +550,7 @@ windows, switch to `doom-fallback-buffer'. Otherwise, delegate to original
(cond
(doom-font
(when (or reload (daemonp))
(set-frame-font doom-font t t t))
(set-frame-font doom-font t t))
;; I avoid `set-frame-font' at startup because it is expensive; doing extra,
;; unnecessary work we can avoid by setting the frame parameter directly.
(setf (alist-get 'font default-frame-alist)