Function: magit-toggle-margin-details

magit-toggle-margin-details is an interactive and byte-compiled function defined in magit-margin.el.

Signature

(magit-toggle-margin-details)

Documentation

Show or hide details in the right margin.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-margin.el
(transient-define-suffix magit-toggle-margin-details ()
  "Show or hide details in the right margin."
  :description "Toggle details"
  :key "d"
  :transient t
  (interactive)
  (unless (magit--right-margin-option)
    (user-error "Magit margin isn't supported in this buffer"))
  (setf (nth 3 magit--right-margin-config)
        (not (nth 3 magit--right-margin-config)))
  (magit-set-buffer-margins nil t))