Commit 4b33f290 authored by Miles Bader's avatar Miles Bader
Browse files

(frame-set-background-mode):

  Pay attention to saved face specs as well as default ones.
parent df3c11b9
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:
......
......@@ -1339,13 +1339,13 @@ this won't have the expected effect."
(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))))))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; Frame creation.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment