server-done-hook

server-done-hook is a variable defined in `server.el'.
Its value is
nil

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

Documentation:
Hook run when done editing a buffer for the Emacs server.

You can customize this variable.