summaryrefslogtreecommitdiff
path: root/modes
diff options
context:
space:
mode:
authorJames Nguyen <james@jojojames.com>2021-01-30 00:33:15 -0800
committerJames Nguyen <james@jojojames.com>2021-01-30 00:33:41 -0800
commite6824e2ad2f2ee7ddccf6f54db655a4cd37a13dc (patch)
tree5d6f7f5853aca4d300396434a04108fff45bb8b8 /modes
parent2bbaa52d22f802615f8193b63ed15be8417815c1 (diff)
Magit: Rely on popup backup when reverting popups (#446)
Diffstat (limited to 'modes')
-rw-r--r--modes/magit/evil-collection-magit.el8
1 files changed, 1 insertions, 7 deletions
diff --git a/modes/magit/evil-collection-magit.el b/modes/magit/evil-collection-magit.el
index a912502..1d7aa10 100644
--- a/modes/magit/evil-collection-magit.el
+++ b/modes/magit/evil-collection-magit.el
@@ -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 ()