From 3e62b6b1312f7907081be41a032aaacffa732fef Mon Sep 17 00:00:00 2001 From: Brian Leung Date: Sat, 11 Jul 2020 12:16:56 -0700 Subject: [PATCH] Remove underscore in argument to placate CI in evil-collection-eshell evil-define-operator accesses the arguments of the operator it is defining, regardless of whether they are used in any meaningful way. --- modes/eshell/evil-collection-eshell.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modes/eshell/evil-collection-eshell.el b/modes/eshell/evil-collection-eshell.el index a5d69d9..c025878 100644 --- a/modes/eshell/evil-collection-eshell.el +++ b/modes/eshell/evil-collection-eshell.el @@ -79,7 +79,8 @@ type register yank-handler))) ;; Taken from Doom Emacs -(evil-define-operator evil-collection-eshell-evil-delete-line (_beg end type register yank-handler) +;; Although the BEG argument doesn't get used in any meaningful way, `evil-define-operator' must access it nonetheless, so putting an underscore in front will make the CI fail. +(evil-define-operator evil-collection-eshell-evil-delete-line (beg end type register yank-handler) "Change to end of line." :motion nil :keep-visual t