aboutsummaryrefslogtreecommitdiff
path: root/evil-types.el
diff options
context:
space:
mode:
authorAxel Forsman <axel@axelf.se>2024-04-24 21:45:21 +0200
committerAxel Forsman <axel@axelf.se>2024-04-30 19:30:57 +0200
commit55f29f07e31c408931e3569066c2050c48dd882b (patch)
tree704b65b84910eb274f1a47f1d6975cc4b04285f4 /evil-types.el
parentb6629aef2c196a6910b9fcdefad2c34b4cf4f0c1 (diff)
Small cleanups
Diffstat (limited to 'evil-types.el')
-rw-r--r--evil-types.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/evil-types.el b/evil-types.el
index 395dc2f..67ea9ce 100644
--- a/evil-types.el
+++ b/evil-types.el
@@ -138,8 +138,7 @@ and will be removed in a future version."
when `evil-respect-visual-line-mode' is non-nil."
:one-to-one nil
:expand (lambda (beg end)
- (if (or (not evil-respect-visual-line-mode)
- (not visual-line-mode))
+ (if (not (and evil-respect-visual-line-mode visual-line-mode))
(evil-line-expand beg end)
(evil-range
(progn