From c2c241666b3e54786a7f37a9e0b793283b7f44b1 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Wed, 10 Jul 2024 16:00:16 -0400 Subject: [PATCH] fix(lib): autoload doom--run-customize-theme-hook In case the user byte-compiles any files where custom-theme-set-faces! is used. Amend: afb9773d7c14 Ref: #7929 Ref: #7933 --- lisp/lib/themes.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/lib/themes.el b/lisp/lib/themes.el index 00f3655f6..c4e35f8d3 100644 --- a/lisp/lib/themes.el +++ b/lisp/lib/themes.el @@ -3,6 +3,7 @@ ;;;###autoload (defconst doom-customize-theme-hook nil) +;;;###autoload (defun doom--run-customize-theme-hook (fn) "Run FN, but suppress any writes to `custom-file'." (letf! ((#'custom--should-apply-setting #'ignore)