Skip to content

Commit

Permalink
Abort repeat with evil-undo
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronjensen committed Jan 10, 2021
1 parent cc9d688 commit 2099377
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions evil-commands.el
Original file line number Diff line number Diff line change
Expand Up @@ -1628,6 +1628,7 @@ of the block."

(evil-define-command evil-undo (count)
"Undo COUNT changes in buffer using `evil-undo-function'."
:repeat abort
(interactive "*p")
(evil--check-undo-system)
(funcall evil-undo-function count))
Expand Down

0 comments on commit 2099377

Please sign in to comment.