mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-05 11:45:45 +00:00
(frame-set-background-mode):
Pay attention to saved face specs as well as default ones.
This commit is contained in:
parent
df3c11b907
commit
4b33f2900f
@ -1,3 +1,8 @@
|
||||
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.
|
||||
|
Loading…
Reference in New Issue
Block a user