summaryrefslogtreecommitdiff
path: root/lisp/custom.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2008-01-18 05:41:09 +0000
committerGlenn Morris <rgm@gnu.org>2008-01-18 05:41:09 +0000
commit279c44082ae75f8483460b5c7936416e8ef7df01 (patch)
treed15c8f24b9c8683dde60a0245bba3d2be93fbd51 /lisp/custom.el
parent7d235bca82e15b04451246569261e5eb85dbcba1 (diff)
downloademacs-279c44082ae75f8483460b5c7936416e8ef7df01.tar.gz
emacs-279c44082ae75f8483460b5c7936416e8ef7df01.tar.bz2
emacs-279c44082ae75f8483460b5c7936416e8ef7df01.zip
Richard M. Stallman <rms at gnu.org>
(custom-theme-recalc-face): Use face-spec-set rather than face-spec-recalc.
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."
(defun custom-theme-recalc-face (face)
"Set FACE according to currently enabled custom themes."
(if (facep face)
- (face-spec-recalc face)))
+ (face-spec-set face
+ (get (or (get face 'face-alias) face)
+ 'face-override-spec))))
;;; XEmacs compability functions