From 6b2cbedcc1916861a3236d78122fb86bd642d246 Mon Sep 17 00:00:00 2001 From: JiaweiChenC Date: Thu, 5 Oct 2023 02:49:41 -0400 Subject: [PATCH] fix name incompatible --- modes/diff-hl/evil-collection-diff-hl.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modes/diff-hl/evil-collection-diff-hl.el b/modes/diff-hl/evil-collection-diff-hl.el index 5b7df01..e68c681 100644 --- a/modes/diff-hl/evil-collection-diff-hl.el +++ b/modes/diff-hl/evil-collection-diff-hl.el @@ -42,7 +42,7 @@ ;;; Code: (require 'evil-collection) -(defconst evil-collection-diff-hl-maps '(diff-hl-show-hunk--inline-popup-map +(defconst evil-collection-diff-hl-maps '(diff-hl-show-hunk-map diff-hl-inline-popup-transient-mode-map)) ;;;###autoload @@ -63,7 +63,7 @@ ;; Actually `diff-hl-inline-popup-transient-mode-map' will inherit it by ;; `set-keymap-parent'. - (evil-collection-define-key 'normal 'diff-hl-show-hunk--inline-popup-map + (evil-collection-define-key 'normal 'diff-hl-show-hunk-map ;; Keep it the same as the overlay shows. "p" 'diff-hl-show-hunk-previous "n" 'diff-hl-show-hunk-next