Variable: server-switch-hook

server-switch-hook is a customizable variable defined in server.el.gz.

Value

(magit-commit-diff)

Documentation

Hook run when switching to a buffer for the Emacs server.

Source Code

;; Defined in /usr/src/emacs/lisp/server.el.gz
(defcustom server-switch-hook nil
  "Hook run when switching to a buffer for the Emacs server."
  :type 'hook)