Magit: Wrap rebase define-keys with (kbd)

Later we use lookup-key in this way:

(lookup-key aux-map (kbd (car cmd)))

which was slightly different from how we were defining the keymap which resulted
in M-j & M-k not being bound or displayed properly.
This commit is contained in:
James Nguyen 2021-01-04 22:34:39 -08:00
parent 0112d16f08
commit 6ac763fd88
1 changed files with 1 additions and 1 deletions

View File

@ -464,7 +464,7 @@ denotes the original magit key for this command.")
(dolist (cmd evil-collection-magit-rebase-commands-w-descriptions)
(when (car cmd)
(evil-collection-define-key evil-collection-magit-state 'git-rebase-mode-map
(car cmd) (nth 1 cmd))))
(kbd (car cmd)) (nth 1 cmd))))
(evil-make-overriding-map git-rebase-mode-map evil-collection-magit-state)