Function: set-face-attributes-from-resources
set-face-attributes-from-resources is a byte-compiled function defined
in faces.el.gz.
Signature
(set-face-attributes-from-resources FACE FRAME)
Documentation
Set attributes of FACE from X resources for FRAME.
Source Code
;; Defined in /usr/src/emacs/lisp/faces.el.gz
(defun set-face-attributes-from-resources (face frame)
"Set attributes of FACE from X resources for FRAME."
(when (memq (framep frame) '(x w32))
(dolist (definition face-x-resources)
(let ((attribute (car definition)))
(dolist (entry (cdr definition))
(set-face-attribute-from-resource face attribute (car entry)
(cdr entry) frame))))))