Mercurial > emacs
diff lisp/faces.el @ 96074:83c52d8906f5
(face-set-after-frame-default): Don't exclude `default'.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Wed, 18 Jun 2008 21:14:07 +0000 |
parents | 1388820636da |
children | efbaf6995245 |
line wrap: on
line diff
--- a/lisp/faces.el Wed Jun 18 14:45:11 2008 +0000 +++ b/lisp/faces.el Wed Jun 18 21:14:07 2008 +0000 @@ -2045,7 +2045,10 @@ ;; 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)