aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/faces.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/faces.el b/lisp/faces.el
index 8e93b9a4f3a..dd5de86f8ea 100644
--- a/lisp/faces.el
+++ b/lisp/faces.el
@@ -1791,7 +1791,11 @@ Initialize colors of certain faces from frame parameters."
1791 (face-spec-set face (face-user-default-spec face) frame) 1791 (face-spec-set face (face-user-default-spec face) frame)
1792 (internal-merge-in-global-face face frame) 1792 (internal-merge-in-global-face face frame)
1793 (if (memq window-system '(x w32 mac)) 1793 (if (memq window-system '(x w32 mac))
1794 (make-face-x-resource-internal face frame))) 1794 (make-face-x-resource-internal face frame))
1795 ;; If the user has customized the face, don't let X
1796 ;; resources override the customizations.
1797 (if (get face 'theme-face)
1798 (custom-theme-recalc-face face)))
1795 (error nil))) 1799 (error nil)))
1796 ;; Apply the attributes specified by frame parameters. This 1800 ;; Apply the attributes specified by frame parameters. This
1797 ;; rewrites parameters changed by make-face-x-resource-internal 1801 ;; rewrites parameters changed by make-face-x-resource-internal