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

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

bug#16038: 24.3; latest change to with-help-window makes temp-buffer-bro


From: Leo Liu
Subject: bug#16038: 24.3; latest change to with-help-window makes temp-buffer-browse useless
Date: Wed, 15 Jan 2014 07:46:43 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (OS X 10.9.1)

On 2014-01-15 05:55 +0800, Drew Adams wrote:
> 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)

Sorry if I haven't been clear. This is not proposing removing those
hooks but removing the add-hooks i.e.:

  (add-hook 'temp-buffer-setup-hook 'help-mode-setup)
  (add-hook 'temp-buffer-show-hook 'help-mode-finish)

Leo





reply via email to

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