diff options
-rw-r--r-- | .config/emacs/init.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.config/emacs/init.el b/.config/emacs/init.el index fcd50ed..dc40f78 100644 --- a/.config/emacs/init.el +++ b/.config/emacs/init.el @@ -627,9 +627,9 @@ font name, font weight, and font height in that order.") :weight prop-weight :height prop-height))) -(when (daemonp) - (add-hook 'after-make-frame-functions (lambda (_) (x-set-fonts)))) -(x-set-fonts) +(if (daemonp) + (add-hook 'after-make-frame-functions (lambda (_) (x-set-fonts))) + (x-set-fonts)) ;;; C-Style |