savehist-save-hook

savehist-save-hook is a variable defined in `savehist.el'.
Its value is
nil

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

Documentation:
Hook called by `savehist-save' before saving the variables.
You can use this hook to influence choice and content of variables
to save.

You can customize this variable.