gnus-group-change-level-function is a variable defined in `gnus.el'.
Its value is
nil
This variable may be risky if used as a file-local variable.
Documentation:
Function run when a group level is changed.
It is called with three parameters -- GROUP, LEVEL and OLDLEVEL.
You can customize this variable.