From 65cd1e59b64562317bac3dc91e52ae65c4243fbe Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Fri, 8 Oct 2021 17:20:51 -0500 Subject: Don't load custom fonts from custom.el --- init.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'init.el') diff --git a/init.el b/init.el index fa6e456..8ec369a 100644 --- a/init.el +++ b/init.el @@ -232,7 +232,9 @@ ;; I need this to save `safe-local-variables' between Emacs invocations. For ;; now, of course .... I would /love/ a better solution. (when (file-exists-p custom-file) - (load custom-file nil nil)) + ;; Don't load faces, since those are all set in init.el + (cl-letf (((symbol-function 'custom-set-faces) #'ignore)) + (load custom-file nil nil))) ;; `Custom-mode-hook' fires /before/ the widgets are built, so I have to ;; install advice after the widgets are made. -- cgit 1.4.1-21-gabe81