]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix regression due to change in face sort order by 'face-list'
authorEli Zaretskii <eliz@gnu.org>
Sat, 18 Feb 2023 07:37:34 +0000 (09:37 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 18 Feb 2023 07:37:34 +0000 (09:37 +0200)
* lisp/faces.el (x-create-frame-with-faces): Undo reversing of
the face list, which is no longer necessary, since 'face-list's
sorting order has been reversed recently.  (Bug#61521)

lisp/faces.el

index d1a7881e3961da81df6dd9cba0744a27e6fff020..8bf7e4429d9cfed5fc45de8ca8111828f824d11b 100644 (file)
@@ -2226,7 +2226,7 @@ the X resource \"reverseVideo\" is present, handle that."
     (unwind-protect
        (progn
          (x-setup-function-keys frame)
-         (dolist (face (nreverse (face-list)))
+         (dolist (face (face-list))
            (face-spec-recalc face frame))
          (x-handle-reverse-video frame parameters)
          (frame-set-background-mode frame t)