Function: custom-theme-reset-faces

custom-theme-reset-faces is a byte-compiled function defined in cus-face.el.gz.

Signature

(custom-theme-reset-faces THEME &rest ARGS)

Documentation

Reset the specs in THEME of some faces to their specs in other themes.

Each of the arguments ARGS has this form:

    (FACE IGNORED)

This means reset FACE. The argument IGNORED is ignored.

Source Code

;; Defined in /usr/src/emacs/lisp/cus-face.el.gz
;; XEmacs compatibility function.  In XEmacs, when you reset a Custom
;; Theme, you have to specify the theme to reset it to.  We just apply
;; the next theme.
(defun custom-theme-reset-faces (theme &rest args)
  "Reset the specs in THEME of some faces to their specs in other themes.
Each of the arguments ARGS has this form:

    (FACE IGNORED)

This means reset FACE.  The argument IGNORED is ignored."
  (custom-check-theme theme)
  (dolist (arg args)
    (custom-push-theme 'theme-face (car arg) theme 'reset)))