From: Eli Zaretskii Date: Fri, 1 Dec 2023 12:15:30 +0000 (+0200) Subject: Fix mode-line-inactive face X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3cbe263b081eaa40753e122e5b98d74d9d9d0c9f;p=emacs.git Fix mode-line-inactive face * src/xfaces.c (Finternal_set_lisp_face_attribute): Fix validation of the :style attribute of :box. Previously, nil for :style was not accepted, which causes 'mode-line-inactive' face to be rejected. (Bug#67567) --- diff --git a/src/xfaces.c b/src/xfaces.c index a23f4c302ed..7385c4c7dd2 100644 --- a/src/xfaces.c +++ b/src/xfaces.c @@ -3388,8 +3388,10 @@ FRAME 0 means change the face on all frames, and change the default } else if (EQ (k, QCstyle)) { - if (!EQ (v, Qpressed_button) && !EQ (v, Qreleased_button) - && !EQ(v, Qflat_button)) + if (!NILP (v) + && !EQ (v, Qpressed_button) + && !EQ (v, Qreleased_button) + && !EQ (v, Qflat_button)) break; } else