Variable: custom--inhibit-theme-enable

custom--inhibit-theme-enable is a variable defined in custom.el.gz.

Value

apply-only-user

Documentation

Whether the custom-theme-set-* functions act immediately.

If the theme argument for those functions is an already enabled theme, the theme settings always apply immediately, ignoring this variable.

If nil, custom-theme-set-variables and custom-theme-set-faces change the current values of the given variable or face. If t, they just make a record of the theme settings. If the value is apply-only-user, then apply setting to the user theme immediately and defer other updates.

Probably introduced at or before Emacs version 27.1.

Source Code

;; Defined in /usr/src/emacs/lisp/custom.el.gz
(defvar custom--inhibit-theme-enable 'apply-only-user
  "Whether the custom-theme-set-* functions act immediately.

If the theme argument for those functions is an already enabled theme,
the theme settings always apply immediately, ignoring this variable.

If nil, `custom-theme-set-variables' and `custom-theme-set-faces'
change the current values of the given variable or face.  If
t, they just make a record of the theme settings.  If the
value is `apply-only-user', then apply setting to the
`user' theme immediately and defer other updates.")