From bab6defe992e64323c3acee28ca8faee0dc9fb5d Mon Sep 17 00:00:00 2001 From: dieggsy Date: Wed, 7 Apr 2021 19:16:20 -0400 Subject: [PATCH] Update evil-bigword and use it - Fixes #1450 --- evil-common.el | 2 +- evil-vars.el | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/evil-common.el b/evil-common.el index 6019c8a7..544b6aea 100644 --- a/evil-common.el +++ b/evil-common.el @@ -1703,7 +1703,7 @@ WORD is a sequence of non-whitespace characters '[^\\n\\r\\t\\f ]', or an empty line matching ^$." (evil-forward-nearest count #'(lambda (&optional cnt) - (evil-forward-chars "^\n\r\t\f " cnt)) + (evil-forward-chars evil-bigword cnt)) #'forward-evil-empty-line)) (defun forward-evil-symbol (&optional count) diff --git a/evil-vars.el b/evil-vars.el index 9e8b879f..767e3aec 100644 --- a/evil-vars.el +++ b/evil-vars.el @@ -319,7 +319,7 @@ selected. Possible values are `evil-word' or `evil-WORD'." :type 'symbol :group 'evil) -(defcustom evil-bigword "^ \t\r\n" +(defcustom evil-bigword "^ \f\t\r\n" "The set of characters to be interpreted as WORD boundaries. This is enclosed with square brackets and used as a regular expression. By default, whitespace characters are considered