Variable: custom-new-theme-mode-hook
custom-new-theme-mode-hook is a variable defined in cus-theme.el.gz.
Value
nil
Documentation
Hook run after entering Custom-Theme mode.
No problems result if this variable is not bound.
add-hook automatically binds it. (This is true for all hook variables.)
Source Code
;; Defined in /usr/src/emacs/lisp/cus-theme.el.gz
(define-derived-mode custom-new-theme-mode nil "Custom-Theme"
"Major mode for editing Custom themes.
Do not call this mode function yourself. It is meant for internal use."
(use-local-map custom-new-theme-mode-map)
(custom--initialize-widget-variables)
(setq-local revert-buffer-function #'custom-theme-revert))