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

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

bug#50716: 28.0.50; whitespace-report does not use existing windows


From: Lars Ingebrigtsen
Subject: bug#50716: 28.0.50; whitespace-report does not use existing windows
Date: Tue, 21 Sep 2021 18:55:29 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

martin rudalics <rudalics@gmx.at> writes:

> I think this needs a new doc-string and the last two lines should
> probably become something like
>
> (let ((window (display-buffer
>              buffer
>              `((display-buffer-reuse-window
>                 display-buffer-below-selected)))))
>   (shrink-window-if-larger-than-buffer window))
>
> since the original code did not select the window and tried to show it
> below the selected one.

Thanks; pushed now to Emacs 28.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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