Subject: Re: bug#70213: Info-mode side window fit-window-to-buffer issue

From: martin rudalics <[email-masked]>
Date: Mon, 8 Apr 2024 11:08:03 +0200

> What do you mean by 'body-function'?

The doc-string of 'display-buffer' says

  `body-function' -- A function called with one argument - the
     displayed window.  It is called after the buffer is
     displayed, and before `window-height', `window-width'
     and `preserve-size' are applied.  The function is supposed
     to fill the window body with some contents that might depend
     on dimensions of the displayed window.

Using it in 'info-pop-to-buffer' would probably mean overkill though -
'Info-directory' doesn't care about the size of the window used for it.

martin