summaryrefslogtreecommitdiff
path: root/lisp/frame.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2020-10-07 11:35:59 +0300
committerEli Zaretskii <eliz@gnu.org>2020-10-07 11:35:59 +0300
commit466db12df04c2bbc289769094f45933819f03f6c (patch)
tree93d066a9cde028138f9e16610b91b28f95a753b3 /lisp/frame.el
parentbc2b63876b669ede07c93bc5694030646d9fbd36 (diff)
downloademacs-466db12df04c2bbc289769094f45933819f03f6c.tar.gz
emacs-466db12df04c2bbc289769094f45933819f03f6c.tar.bz2
emacs-466db12df04c2bbc289769094f45933819f03f6c.zip
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)
Diffstat (limited to 'lisp/frame.el')
-rw-r--r--lisp/frame.el2
1 files changed, 1 insertions, 1 deletions
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)))