Function: custom-theme-recalc-face

custom-theme-recalc-face is a byte-compiled function defined in custom.el.gz.

Signature

(custom-theme-recalc-face FACE)

Documentation

Set FACE according to currently enabled custom themes.

If FACE is not initialized as a face, do nothing; otherwise call face-spec-recalc to recalculate the face on all frames.

Source Code

;; Defined in /usr/src/emacs/lisp/custom.el.gz
(defun custom-theme-recalc-face (face)
  "Set FACE according to currently enabled custom themes.
If FACE is not initialized as a face, do nothing; otherwise call
`face-spec-recalc' to recalculate the face on all frames."
  (if (get face 'face-alias)
      (setq face (get face 'face-alias)))
  (if (facep face)
      ;; Reset the faces for each frame.
      (dolist (frame (frame-list))
	(face-spec-recalc face frame))))