From: Eli Zaretskii Date: Wed, 7 Oct 2020 08:35:59 +0000 (+0300) Subject: Fix last change in frame.el. X-Git-Tag: emacs-28.0.90~5716 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=466db12df04c2bbc289769094f45933819f03f6c;p=emacs.git 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) --- 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)))