diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-09-08 22:41:06 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-09-08 22:41:06 +0200 |
commit | 7fe6ddfecb38fec48450a3957b013c63b5aa498a (patch) | |
tree | b63047bedc0b50f405cfabddbf8b229feeeacda1 /.config | |
parent | 41aa95fc1b27510d7cbef8301e55cc53ddcf3658 (diff) |
emacs: Only call (x-set-fonts) in emacsclient
Diffstat (limited to '.config')
-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 |