Pay attention to saved face specs as well as default ones.
+2000-10-11 Miles Bader <miles@lsi.nec.co.jp>
+
+ * faces.el (frame-set-background-mode): Pay attention to saved
+ face specs as well as default ones.
+
2000-10-10 Sam Steingold <sds@gnu.org>
* chistory.el, ielm.el, ledit.el:
(let ((face-list (face-list)))
(while face-list
(let* ((face (car face-list))
- (spec (get face 'face-defface-spec)))
+ (spec (or (get face 'saved-face)
+ (get face 'face-defface-spec))))
(when spec
(face-spec-set face spec frame))
(setq face-list (cdr face-list))))))
-
\f
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; Frame creation.