gnus-summary-generate-hook is a variable defined in `gnus-sum.el'.
Its value is
nil
This variable may be risky if used as a file-local variable.
Documentation:
*A hook run just before generating the summary buffer.
This hook is commonly used to customize threading variables and the
like.
You can customize this variable.