Function: custom-theme-add-face-1
custom-theme-add-face-1 is a byte-compiled function defined in
cus-theme.el.gz.
Signature
(custom-theme-add-face-1 SYMBOL SPEC)
Source Code
;; Defined in /usr/src/emacs/lisp/cus-theme.el.gz
(defun custom-theme-add-face-1 (symbol spec)
(widget-insert " ")
(push (list symbol
(prog1
(widget-create 'checkbox
:value t
:help-echo "Enable/disable this face.")
(widget-insert " "))
(widget-create 'custom-face
:tag (custom-unlispify-tag-name symbol)
:documentation-shown t
:value symbol
:custom-state 'hidden
:custom-style 'simple
:shown-value spec
:sample-indent 34))
custom-theme-faces)
(widget-insert " "))