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: Juri Linkov
Subject: bug#45688: 28.0.50; New action for display-buffer?
Date: Wed, 27 Jan 2021 11:38:46 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)

>> Indeed, better would be to add an option to not resize it by 
>> describe-function.
>> Maybe by adding a new option 'after-display-buffer-function' and set it
>> by default to 'shrink-window-if-larger-than-buffer' in *Help* buffers?
>
> You can already use a 'window-height' alist entry and set it to
> 'shrink-window-if-larger-than-buffer'.  What would an
> 'after-display-buffer-function' option do differently?

The problem is that currently shrink-window-if-larger-than-buffer
is used in many commands by default, but this behavior is hard-coded
and can't be disabled by customization.  These commands include
help commands,  vc-log, vc-diff, ...





reply via email to

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