Variable: custom-safe-themes
custom-safe-themes is a customizable variable defined in custom.el.gz.
Value
(default)
Documentation
Themes that are considered safe to load.
If the value is a list, each element should be either the SHA-256
hash of a safe theme file, or the symbol default, which stands
for any theme in the built-in Emacs theme directory (a directory
named "themes" in data-directory).
If the value is t, Emacs treats all themes as safe.
This variable cannot be set in a Custom theme.
This variable was added, or its default value changed, in Emacs 24.1.
Probably introduced at or before Emacs version 24.1.
Source Code
;; Defined in /usr/src/emacs/lisp/custom.el.gz
(defcustom custom-safe-themes '(default)
"Themes that are considered safe to load.
If the value is a list, each element should be either the SHA-256
hash of a safe theme file, or the symbol `default', which stands
for any theme in the built-in Emacs theme directory (a directory
named \"themes\" in `data-directory').
If the value is t, Emacs treats all themes as safe.
This variable cannot be set in a Custom theme."
:type '(choice (repeat :tag "List of safe themes"
(choice string
(const :tag "Built-in themes" default)))
(const :tag "All themes" t))
:group 'customize
:risky t
:version "24.1")