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.
This commit is contained in:
Brian Leung 2020-07-11 12:16:56 -07:00 committed by James N
parent 2e6a40974e
commit 3e62b6b131
1 changed files with 2 additions and 1 deletions

View File

@ -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