mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
(face-set-after-frame-default): Recalculate face customizations after
applying X resources.
This commit is contained in:
parent
0e160a95e2
commit
87a0fbbe39
1 changed files with 5 additions and 1 deletions
|
|
@ -1791,7 +1791,11 @@ Initialize colors of certain faces from frame parameters."
|
|||
(face-spec-set face (face-user-default-spec face) frame)
|
||||
(internal-merge-in-global-face face frame)
|
||||
(if (memq window-system '(x w32 mac))
|
||||
(make-face-x-resource-internal face frame)))
|
||||
(make-face-x-resource-internal face frame))
|
||||
;; If the user has customized the face, don't let X
|
||||
;; resources override the customizations.
|
||||
(if (get face 'theme-face)
|
||||
(custom-theme-recalc-face face)))
|
||||
(error nil)))
|
||||
;; Apply the attributes specified by frame parameters. This
|
||||
;; rewrites parameters changed by make-face-x-resource-internal
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue