From 466db12df04c2bbc289769094f45933819f03f6c Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Wed, 7 Oct 2020 11:35:59 +0300 Subject: [PATCH] Fix last change in frame.el. * lisp/frame.el (frame-set-background-mode): Fix last change: yet another place where FRAME was not taken into account, using the selected frame instead. (Bug#43837) --- lisp/frame.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/frame.el b/lisp/frame.el index 26b23f82292..29ac862ccd4 100644 --- a/lisp/frame.el +++ b/lisp/frame.el @@ -1244,7 +1244,7 @@ face specs for the new background mode." ;; during startup with -rv on the command ;; line for the initial frame, because frames ;; are not recorded in the pdump file. - (assq face (frame-face-alist)) + (assq face (frame-face-alist frame)) (face-spec-match-p face (face-user-default-spec face) frame))) -- 2.39.5