about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2021-10-08 17:20:51 -0500
committerCase Duckworth2021-10-08 17:20:51 -0500
commit65cd1e59b64562317bac3dc91e52ae65c4243fbe (patch)
tree5196eea0781b12678b6f0d380da17422652632bb
parentTweak auto-insert thing (diff)
downloademacs-65cd1e59b64562317bac3dc91e52ae65c4243fbe.tar.gz
emacs-65cd1e59b64562317bac3dc91e52ae65c4243fbe.zip
Don't load custom fonts from custom.el
-rw-r--r--init.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/init.el b/init.el index fa6e456..8ec369a 100644 --- a/init.el +++ b/init.el
@@ -232,7 +232,9 @@
232 ;; I need this to save `safe-local-variables' between Emacs invocations. For 232 ;; I need this to save `safe-local-variables' between Emacs invocations. For
233 ;; now, of course .... I would /love/ a better solution. 233 ;; now, of course .... I would /love/ a better solution.
234 (when (file-exists-p custom-file) 234 (when (file-exists-p custom-file)
235 (load custom-file nil nil)) 235 ;; Don't load faces, since those are all set in init.el
236 (cl-letf (((symbol-function 'custom-set-faces) #'ignore))
237 (load custom-file nil nil)))
236 238
237 ;; `Custom-mode-hook' fires /before/ the widgets are built, so I have to 239 ;; `Custom-mode-hook' fires /before/ the widgets are built, so I have to
238 ;; install advice after the widgets are made. 240 ;; install advice after the widgets are made.