Remove check for display-graphic-p when loading theme

This commit is contained in:
Evie Litherland-Smith 2024-11-13 17:50:10 +00:00
parent fe0331f4a4
commit 01cca4d35a

View file

@ -152,10 +152,8 @@ Configure the look and feel of Emacs
(plist-get my/base16-colors :base0B))))
(require 'server)
(add-hook 'after-init-hook
(lambda () (when (display-graphic-p) (my/load-theme-and-configure))))
(add-hook 'server-after-make-frame-hook
(lambda () (when (display-graphic-p) (my/load-theme-and-configure))))
(add-hook 'after-init-hook (lambda () (my/load-theme-and-configure)))
(add-hook 'server-after-make-frame-hook (lambda () (my/load-theme-and-configure)))
#+end_src
*** Nerd Icons
#+begin_src emacs-lisp