changeset 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 4af4f5a1eb34
children 3376493a3ad4
files lisp/ChangeLog lisp/faces.el
diffstat 2 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Wed Jun 18 14:45:11 2008 +0000
+++ b/lisp/ChangeLog	Wed Jun 18 21:14:07 2008 +0000
@@ -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.
--- 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)