Variable: magit-post-create-buffer-hook

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

Value

nil

Documentation

Normal hook run after creating a new magit-mode buffer.

Runs after the buffer is populated with sections for the first time. Also see magit-create-buffer-hook (which runs earlier) and magit-refresh-buffer-hook (which runs on every refresh).

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

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-mode.el
(defcustom magit-post-create-buffer-hook nil
  "Normal hook run after creating a new `magit-mode' buffer.
Runs after the buffer is populated with sections for the first
time.  Also see `magit-create-buffer-hook' (which runs earlier)
and `magit-refresh-buffer-hook' (which runs on every refresh)."
  :package-version '(magit . "4.0.0")
  :group 'magit-refresh
  :type 'hook)