Function: magit-toggle-margin
magit-toggle-margin is an interactive and byte-compiled function
defined in magit-margin.el.
Signature
(magit-toggle-margin)
Documentation
Show or hide the right margin.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-margin.el
(transient-define-suffix magit-toggle-margin ()
"Show or hide the right margin."
:description "Toggle visibility"
:key "L"
:transient t
(interactive)
(unless (magit--right-margin-option)
(user-error "Magit margin isn't supported in this buffer"))
(setcar magit--right-margin-config (not (magit--right-margin-active)))
(magit-set-buffer-margins))