From b450e0f49400211426a18d86a6ae35e182457a84 Mon Sep 17 00:00:00 2001 From: Justin Burkett Date: Sun, 28 Jul 2019 17:00:09 -0400 Subject: Fix previous commit when evil-cross-lines is t --- evil-commands.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/evil-commands.el b/evil-commands.el index 5feea84..fc8641c 100644 --- a/evil-commands.el +++ b/evil-commands.el @@ -660,7 +660,8 @@ Movement is restricted to the current line unless `evil-cross-lines' is non-nil. (let ((case-fold-search nil)) (unless (prog1 (search-forward (char-to-string char) - (cond (evil-cross-lines) + (cond (evil-cross-lines + nil) ((and fwd visual) (save-excursion (end-of-visual-line) -- cgit v1.0