Function: custom-face-get-current-spec-unfiltered
custom-face-get-current-spec-unfiltered is a byte-compiled function
defined in cus-edit.el.gz.
Signature
(custom-face-get-current-spec-unfiltered FACE)
Documentation
Return the current spec for face FACE, without filtering it.
Source Code
;; Defined in /usr/src/emacs/lisp/cus-edit.el.gz
(defun custom-face-get-current-spec-unfiltered (face)
"Return the current spec for face FACE, without filtering it."
(let ((spec (or (get face 'customized-face)
(get face 'saved-face)
(get face 'face-defface-spec)
;; Attempt to construct it.
`((t ,(custom-face-attributes-get
face (selected-frame)))))))
;; If the user has changed this face in some other way,
;; edit it as the user has specified it.
(if (not (face-spec-match-p face spec (selected-frame)))
(setq spec `((t ,(face-attr-construct face)))))
spec))