temp-buffer-setup-hook

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

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

Documentation:
Normal hook run by `with-output-to-temp-buffer' at the start.
When the hook runs, the temporary buffer is current.
This hook is normally set up with a function to put the buffer in Help
mode.