aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2008-06-18 21:14:07 +0000
committerStefan Monnier2008-06-18 21:14:07 +0000
commit338191ce01e13281fad699dcf98a725428a2efc8 (patch)
tree11aeaaf23c94baeb84147b2c1043e7825a9a8a24
parent51cf11be0836099f8f87d2f27d76009eb0e94068 (diff)
downloademacs-338191ce01e13281fad699dcf98a725428a2efc8.tar.gz
emacs-338191ce01e13281fad699dcf98a725428a2efc8.zip
(face-set-after-frame-default): Don't exclude `default'.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/faces.el5
2 files changed, 8 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 3e02738e9b7..88debfeb812 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12008-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * faces.el (face-set-after-frame-default): Don't exclude `default'.
4
12008-06-18 Glenn Morris <rgm@gnu.org> 52008-06-18 Glenn Morris <rgm@gnu.org>
2 6
3 * mouse.el (buffer-face-mode-invoke): Declare. 7 * mouse.el (buffer-face-mode-invoke): Declare.
diff --git a/lisp/faces.el b/lisp/faces.el
index f3e88686196..251bacc5610 100644
--- a/lisp/faces.el
+++ b/lisp/faces.el
@@ -2045,7 +2045,10 @@ Initialize colors of certain faces from frame parameters."
2045 ;; Initialize faces from face specs and X resources. The 2045 ;; Initialize faces from face specs and X resources. The
2046 ;; condition-case prevents invalid specs from causing frame 2046 ;; condition-case prevents invalid specs from causing frame
2047 ;; creation to fail. 2047 ;; creation to fail.
2048 (dolist (face (delq 'default (face-list))) 2048 (dolist (face (face-list))
2049 ;; This loop used to exclude the `default' face for an unknown reason.
2050 ;; It lead to odd behaviors where face-spec settings on the `default'
2051 ;; face weren't obeyed for new frame.
2049 (condition-case () 2052 (condition-case ()
2050 (progn 2053 (progn
2051 (face-spec-recalc face frame) 2054 (face-spec-recalc face frame)