Variable: magit-post-display-buffer-hook

magit-post-display-buffer-hook is a customizable variable defined in magit-mode.el.

Value

(magit-maybe-set-dedicated)

Documentation

Hook run by magit-display-buffer after displaying the buffer.

This variable was added, or its default value changed, in magit version 2.3.0.

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-mode.el
(defcustom magit-post-display-buffer-hook (list #'magit-maybe-set-dedicated)
  "Hook run by `magit-display-buffer' after displaying the buffer."
  :package-version '(magit . "2.3.0")
  :group 'magit-buffers
  :type 'hook
  :get #'magit-hook-custom-get
  :options (list #'magit-maybe-set-dedicated))