Function: custom-theme-reset-variables

custom-theme-reset-variables is a byte-compiled function defined in custom.el.gz.

Signature

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

Documentation

Reset some variable settings in THEME to their values in other themes.

Each of the arguments ARGS has this form:

    (VARIABLE IGNORED)

This means reset VARIABLE. (The argument IGNORED is ignored).

Source Code

;; Defined in /usr/src/emacs/lisp/custom.el.gz
;;; XEmacs compatibility functions

;; In XEmacs, when you reset a Custom Theme, you have to specify the
;; theme to reset it to.  We just apply the next available theme, so
;; just ignore the IGNORED arguments.

(defun custom-theme-reset-variables (theme &rest args)
  "Reset some variable settings in THEME to their values in other themes.
Each of the arguments ARGS has this form:

    (VARIABLE IGNORED)

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