aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/custom.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/custom.el')
-rw-r--r--lisp/custom.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/custom.el b/lisp/custom.el
index a0b1db517a2..7466913eb9a 100644
--- a/lisp/custom.el
+++ b/lisp/custom.el
@@ -1176,7 +1176,9 @@ This function returns nil if no custom theme specifies a value for VARIABLE."
1176(defun custom-theme-recalc-face (face) 1176(defun custom-theme-recalc-face (face)
1177 "Set FACE according to currently enabled custom themes." 1177 "Set FACE according to currently enabled custom themes."
1178 (if (facep face) 1178 (if (facep face)
1179 (face-spec-recalc face))) 1179 (face-spec-set face
1180 (get (or (get face 'face-alias) face)
1181 'face-override-spec))))
1180 1182
1181;;; XEmacs compability functions 1183;;; XEmacs compability functions
1182 1184