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

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

bug#45688: 28.0.50; New action for display-buffer?


From: martin rudalics
Subject: bug#45688: 28.0.50; New action for display-buffer?
Date: Wed, 6 Jan 2021 16:52:58 +0100

> I tried
>
> (setq display-buffer-overriding-action '(display-buffer-use-some-window))
>
> but I don't see any difference -- display-buffer always uses the same
> window when displaying buffers.

You really have to "use" such a window which means selecting it.  Just
displaying a buffer in a window does not count as using it.  The use
time of a window that was never selected stays at zero, so such a window
is always a good candidate for 'display-buffer-use-some-window'.  That's
how use times and `get-lru-window' work.  Feel free to install something
more appropriate here.

martin





reply via email to

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