Skip to content
This repository has been archived by the owner on Oct 25, 2022. It is now read-only.

Commit

Permalink
Don't change gh-pulls popup
Browse files Browse the repository at this point in the history
It conflicts with the hardcoded text on the key binding to use

Fixes #24
  • Loading branch information
justbur committed Jul 14, 2016
1 parent acc6af4 commit 4a375ea
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions evil-magit.el
Original file line number Diff line number Diff line change
Expand Up @@ -525,9 +525,6 @@ evil-magit affects.")
(magit-change-popup-key
(nth 0 change) (nth 1 change)
(string-to-char (nth 2 change)) (string-to-char (nth 3 change))))
(eval-after-load 'magit-gh-pulls
`(progn
(magit-change-popup-key 'magit-gh-pulls-popup :actions ?g ?r)))
(setq evil-magit-popup-keys-changed t)))

(defun evil-magit-revert-popups ()
Expand All @@ -538,9 +535,6 @@ evil-magit affects.")
(magit-change-popup-key
(nth 0 change) (nth 1 change)
(string-to-char (nth 3 change)) (string-to-char (nth 2 change))))
(eval-after-load 'magit-gh-pulls
`(progn
(magit-change-popup-key 'magit-gh-pulls-popup :actions ?r ?g)))
(setq evil-magit-popup-keys-changed nil)))

;;;###autoload
Expand Down

0 comments on commit 4a375ea

Please sign in to comment.