From 5b31b20fdf337522c48e5f1090a9a026f73fe3c5 Mon Sep 17 00:00:00 2001 From: Kat Huang Date: Sat, 26 Aug 2023 14:24:47 -0600 Subject: [PATCH] [Emacs] Always run appearance setup as after-init function --- dotfiles/emacs.d/README.org | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dotfiles/emacs.d/README.org b/dotfiles/emacs.d/README.org index 04c66822..76dea73a 100644 --- a/dotfiles/emacs.d/README.org +++ b/dotfiles/emacs.d/README.org @@ -4247,9 +4247,9 @@ load-theme hook (See the heading below). (setq imalison:default-font-size-pt (face-attribute 'default :height)) (setq imalison:appearance-setup-done t))) -(if (daemonp) - (add-hook 'after-make-frame-functions 'imalison:appearance-setup-hook) - (add-hook 'after-init-hook 'imalison:appearance-setup-hook)) +(when (daemonp) + (add-hook 'after-make-frame-functions 'imalison:appearance-setup-hook)) +(add-hook 'after-init-hook 'imalison:appearance-setup-hook) #+END_SRC * Post Init Custom #+BEGIN_SRC emacs-lisp