Variable: magit-revision-use-dedicated-buffers

magit-revision-use-dedicated-buffers is a customizable variable defined in magit-diff.el.

Value

nil

Documentation

Whether magit-show-commit uses a dedicated buffer for each revision.

If this is nil, then each revision is initially displayed in the same per-repository buffer. You can then lock that buffer to the revision; if you later display another revision, the locked buffer continues to display the same revision as before and the new revision is displayed in another bufer.

If this is t, then each revision is displayed in a dedicated buffer. A revision buffer is only reused (i.e., raised), if it already displays the requested revision. If you enable this, you will quickly accumulate revision buffers and will have to find a way to keep that under control. magit-{blame,log,status}-maybe-update-revision-buffer also will stop working, if this is enabled. For these reasons it is recommended, that you do not enable this.

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

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260822.1158/magit-diff.el
(defcustom magit-revision-use-dedicated-buffers nil
  "Whether `magit-show-commit' uses a dedicated buffer for each revision.

If this is nil, then each revision is initially displayed in the same
per-repository buffer.  You can then lock that buffer to the revision;
if you later display another revision, the locked buffer continues to
display the same revision as before and the new revision is displayed
in another bufer.

If this is t, then each revision is displayed in a dedicated buffer.
A revision buffer is only reused (i.e., raised), if it already displays
the requested revision.  If you enable this, you will quickly accumulate
revision buffers and will have to find a way to keep that under control.
`magit-{blame,log,status}-maybe-update-revision-buffer' also will stop
working, if this is enabled.  For these reasons it is recommended, that
you do not enable this."
  :package-version '(magit . "4.7.0")
  :group 'magit-revision
  :type 'boolean)