diff options
| author | James Nguyen <james@jojojames.com> | 2021-01-04 22:34:39 -0800 |
|---|---|---|
| committer | James Nguyen <james@jojojames.com> | 2021-01-04 22:34:39 -0800 |
| commit | 6ac763fd885ab6779c1835722b02846455dd665d (patch) | |
| tree | 25eec6d8688720356e390b3ac8238629e3a03374 /modes | |
| parent | 0112d16f08b66790aa02b061cc4755096a713ab0 (diff) | |
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.
Diffstat (limited to 'modes')
| -rw-r--r-- | modes/magit/evil-collection-magit.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modes/magit/evil-collection-magit.el b/modes/magit/evil-collection-magit.el index 4593eb9..74139a6 100644 --- a/modes/magit/evil-collection-magit.el +++ b/modes/magit/evil-collection-magit.el @@ -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) |
