bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#53629: 27.1: add option to change face `mode-line-buffer-id` when mo


From: martin rudalics
Subject: bug#53629: 27.1: add option to change face `mode-line-buffer-id` when mode-line is inactive
Date: Fri, 4 Feb 2022 10:58:08 +0100

> Thanks, Lars. I tried this approach and it's almost perfect. The only thing
> I noticed is that when I use M-x or C-s, and the focus is on the echo area,
> the last active buffer (the one I was before pressing M-x or C-s) doesn't
> use the `mode-line-buffer-id-active` face.

Instead of

>>                        (if (eq (selected-window)
>>                                      (old-selected-window))

try

(if (memq (selected-window) `(,(old-selected-window) 
,(minibuffer-selected-window)))

martin





reply via email to

[Prev in Thread] Current Thread [Next in Thread]