temp-buffer-show-hook

temp-buffer-show-hook is a variable defined in `subr.el'.
Its value is
(help-mode-finish completion-list-mode-finish)

  • This variable may be risky if used as a file-local variable.

Documentation:
Normal hook run by `with-output-to-temp-buffer' after displaying the buffer.
When the hook runs, the temporary buffer is current, and the window it
was displayed in is selected.