mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-07 12:47:30 -05:00
fix(lib): autoload doom--run-customize-theme-hook
In case the user byte-compiles any files where custom-theme-set-faces!
is used.
Amend: afb9773d7c
Ref: #7929
Ref: #7933
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user