(face-set-after-frame-default): Don't exclude `default'.

This commit is contained in:
Stefan Monnier 2008-06-18 21:14:07 +00:00
parent 51cf11be08
commit 338191ce01
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2008-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
* faces.el (face-set-after-frame-default): Don't exclude `default'.
2008-06-18 Glenn Morris <rgm@gnu.org>
* mouse.el (buffer-face-mode-invoke): Declare.

View file

@ -2045,7 +2045,10 @@ Initialize colors of certain faces from frame parameters."
;; Initialize faces from face specs and X resources. The
;; condition-case prevents invalid specs from causing frame
;; creation to fail.
(dolist (face (delq 'default (face-list)))
(dolist (face (face-list))
;; This loop used to exclude the `default' face for an unknown reason.
;; It lead to odd behaviors where face-spec settings on the `default'
;; face weren't obeyed for new frame.
(condition-case ()
(progn
(face-spec-recalc face frame)