mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-23 05:17:35 +00:00
(face-set-after-frame-default): Don't exclude `default'.
This commit is contained in:
parent
51cf11be08
commit
338191ce01
2 changed files with 8 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue