[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master bc2b638: Fix face recalculation when frame's background mode chan
From: |
Eli Zaretskii |
Subject: |
master bc2b638: Fix face recalculation when frame's background mode changes |
Date: |
Wed, 7 Oct 2020 03:02:59 -0400 (EDT) |
branch: master
commit bc2b63876b669ede07c93bc5694030646d9fbd36
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>
Fix face recalculation when frame's background mode changes
* lisp/frame.el (frame-set-background-mode): Use the FRAME
argument instead of the selected frame, when calling
'face-spec-match-p'. (Bug#43837)
---
lisp/frame.el | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/lisp/frame.el b/lisp/frame.el
index 7751ae1..26b23f8 100644
--- a/lisp/frame.el
+++ b/lisp/frame.el
@@ -1247,10 +1247,7 @@ face specs for the new background mode."
(assq face (frame-face-alist))
(face-spec-match-p face
(face-user-default-spec face)
- ;; FIXME: why selected-frame and
- ;; not the frame that is the
- ;; argument to this function?
- (selected-frame))))
+ frame)))
(push face locally-modified-faces)))
;; Now change to the new frame parameters
(modify-frame-parameters frame params)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master bc2b638: Fix face recalculation when frame's background mode changes,
Eli Zaretskii <=