]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix last change in frame.el.
authorEli Zaretskii <eliz@gnu.org>
Wed, 7 Oct 2020 08:35:59 +0000 (11:35 +0300)
committerEli Zaretskii <eliz@gnu.org>
Wed, 7 Oct 2020 08:35:59 +0000 (11:35 +0300)
* 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

index 26b23f82292cf60ef0639d0e14e12f251405dfe4..29ac862ccd41eee9cb78fcf6819cc06223ebcbec 100644 (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)))