midnight-hook

midnight-hook is a variable defined in `midnight.el'.
Its value is
(clean-buffer-list)

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

Documentation:
The hook run `midnight-delay' seconds after midnight every day.
The default value is `clean-buffer-list'.

You can customize this variable.