Magit: Rely on popup backup when reverting popups (#446)
This commit is contained in:
parent
2bbaa52d22
commit
e6824e2ad2
|
@ -610,13 +610,7 @@ evil-collection-magit affects.")
|
|||
(defun evil-collection-magit-revert-popups ()
|
||||
"Revert popup keys changed by evil-collection-magit."
|
||||
(put 'magit-dispatch 'transient--layout evil-collection-magit-dispatch-popup-backup)
|
||||
(when evil-collection-magit-popup-keys-changed
|
||||
(dolist (change evil-collection-magit-popup-changes)
|
||||
(evil-collection-magit-change-popup-key
|
||||
(nth 0 change) (nth 2 change) (nth 1 change)))
|
||||
(with-eval-after-load 'forge
|
||||
(transient-suffix-put 'magit-dispatch "@" :key "'"))
|
||||
(setq evil-collection-magit-popup-keys-changed nil)))
|
||||
(setq evil-collection-magit-popup-keys-changed nil))
|
||||
|
||||
;;;###autoload
|
||||
(defun evil-collection-magit-init ()
|
||||
|
|
Loading…
Reference in New Issue