Variable: magit-ediff-quit-hook
magit-ediff-quit-hook is a customizable variable defined in
magit-ediff.el.
Value
(magit-ediff-restore-previous-winconf)
Documentation
Hooks to run after finishing Ediff, when that was invoked using Magit.
The hooks are run in the Ediff control buffer. This is similar
to ediff-quit-hook but takes the needs of Magit into account.
The ediff-quit-hook is ignored by Ediff sessions which were
invoked using Magit.
This variable was added, or its default value changed, in magit version 4.6.0.
Source Code
;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-ediff.el
(defcustom magit-ediff-quit-hook
(list #'magit-ediff-restore-previous-winconf)
"Hooks to run after finishing Ediff, when that was invoked using Magit.
The hooks are run in the Ediff control buffer. This is similar
to `ediff-quit-hook' but takes the needs of Magit into account.
The `ediff-quit-hook' is ignored by Ediff sessions which were
invoked using Magit."
:package-version '(magit . "4.6.0")
:group 'magit-ediff
:type 'hook
:get #'magit-hook-custom-get
:options (list #'magit-ediff-restore-previous-winconf))