]> git.eshelyaron.com Git - emacs.git/commitdiff
(custom-theme-recalc-face): Simply call `face-spec-recalc'.
authorRichard M. Stallman <rms@gnu.org>
Sun, 30 Dec 2007 03:33:21 +0000 (03:33 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 30 Dec 2007 03:33:21 +0000 (03:33 +0000)
lisp/custom.el

index bbee71ecf1fb41434805bfbf4d17347943e89760..d39bbb37e07f3df12fe3cad800ca6a97bd72b7ac 100644 (file)
@@ -1176,9 +1176,7 @@ 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)
-      (let ((theme-faces (reverse (get face 'theme-face))))
-       (dolist (spec theme-faces)
-         (face-spec-set face (cadr spec))))))
+      (face-spec-recalc face)))
 \f
 ;;; XEmacs compability functions