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

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

bug#51062: Customizable window resizing


From: Juri Linkov
Subject: bug#51062: Customizable window resizing
Date: Wed, 29 Dec 2021 19:27:07 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu)

forcemerge 51062 52855
stop

>> Actually, the right name was 'vc-post-process-functions'
>> proposed in bug#36859 (merged).
>
> You mean to run 'shrink-window-if-larger-than-buffer' from that hook
> unless the user removed it?

The problem is that the argument of this function should be a buffer,
not a window as in 'shrink-window-if-larger-than-buffer'.
This is why bug#52855 proposed to add a new function

  shrink-buffer-if-larger-than-buffer

But not sure if this should be added to window.el,
or better to leave in vc.el with the name vc-shrink-buffer?





reply via email to

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