Commit 449e1cb9 authored by Jonas Bernoulli's avatar Jonas Bernoulli

magit-margin-popup: Add magit-refs-set-show-commit-count

... but only in magit-refs-mode of course.
parent ae007a75
......@@ -61,9 +61,14 @@ does not carry to other options."
(magit-define-popup magit-margin-popup
"Popup console for changing appearance of the margin."
:actions '("Margin"
(?L "toggle visibility" magit-toggle-margin)
(?l "cycle style" magit-cycle-margin-style)
(?d "toggle details" magit-toggle-margin-details))
(?L "Toggle visibility" magit-toggle-margin)
(?l "Cycle style" magit-cycle-margin-style)
(?d "Toggle details" magit-toggle-margin-details)
(lambda ()
(and (with-current-buffer magit-pre-popup-buffer
(derived-mode-p 'magit-refs-mode))
(propertize "Left edge" 'face 'magit-popup-heading)))
(?v "Change verbosity" magit-refs-set-show-commit-count))
:max-action-columns 1)
(defun magit-toggle-margin ()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment