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)
This commit is contained in:
Eli Zaretskii 2020-10-07 11:35:59 +03:00
parent bc2b63876b
commit 466db12df0

View file

@ -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)))