diff options
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/faces.el | 5 |
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 @@ | |||
| 1 | 2008-06-18 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * faces.el (face-set-after-frame-default): Don't exclude `default'. | ||
| 4 | |||
| 1 | 2008-06-18 Glenn Morris <rgm@gnu.org> | 5 | 2008-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) |