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

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

bug#19339: face-remapping-alist ignored in echo-area


From: martin rudalics
Subject: bug#19339: face-remapping-alist ignored in echo-area
Date: Thu, 2 Dec 2021 17:43:35 +0100

> Right...  but this doesn't work, either:
>
> (dolist (b (buffer-list))
>    (when (string-match " *Echo Area\\|Minibuf" (buffer-name b))
>      (with-current-buffer b
>        (make-local-variable 'face-remapping-alist)
>        (add-to-list 'face-remapping-alist
>               '(default (:background "green"))))))

IIRC you once found a recipe how to make it work for specific windows
only.

> But I guess you have to do something with the minibuffer hook to get
> that to work, or something?

'minibuffer-setup-hook' probably.  Here I'm using a separate window slot
for keeping a window-specific remapping alist.

martin





reply via email to

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