diff options
author | shoshin <shoshin@cicadas.surf> | 2023-03-17 15:54:23 -0500 |
---|---|---|
committer | shoshin <shoshin@cicadas.surf> | 2023-03-17 15:54:23 -0500 |
commit | 01c01da513aa9abab8fbd048ba97cd72e6cd31fd (patch) | |
tree | 7f1a6d6482d32276bb0743426d0bceff2948e40f /shoshimacs.el | |
parent | 7111b92461f06dfaab4d8f33787f73b1b9313c06 (diff) |
Add: better handling of setting default frame font
Diffstat (limited to 'shoshimacs.el')
-rw-r--r-- | shoshimacs.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/shoshimacs.el b/shoshimacs.el index bee6420..b3071e6 100644 --- a/shoshimacs.el +++ b/shoshimacs.el @@ -354,8 +354,10 @@ (package-install 'darkroom) -(let ((size (if (or (equal (system-name) "zebes") (equal (system-name) "ridley")) 16 12))) - (set-frame-font (format "Victor Mono-%s" size))) +(let* ((size (if (or (equal (system-name) "zebes") (equal (system-name) "ridley")) 16 12)) + (font (format "Victor Mono-%s" size))) + (add-to-list 'default-frame-alist + `(font . ,font))) (global-hl-line-mode t) |