after-save-hook

after-save-hook is a variable defined in `files.el'.
Its value is
(cvs-mark-buffer-changed rmail-after-save-hook)

Original value was

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

Documentation:
Normal hook that is run after a buffer is saved to its file.

You can customize this variable.