Subject: RE: bug#16038: 24.3; latest change to with-help-window makes temp-buffer-browse useless

From: Drew Adams <[email-masked]>
Date: Tue, 14 Jan 2014 13:55:36 -0800 (PST)

> I have no idea why those hooks are needed in the first place.

Uh, for when you want to associate some action with either setting
up or showing a so-called "temp" buffer (which unfortunately for
the name means a help buffer, since we have now loaded such buffers
and their displays down with help-specific stuff).

For example, to have the frame be automatically fit to the buffer
contents if there is only one window, you can do this (if you have
library `autofit-frame.el'):

(add-hook 'temp-buffer-show-hook
          'fit-frame-if-one-window
          'append)