aboutsummaryrefslogtreecommitdiff
path: root/evil-commands.el
diff options
context:
space:
mode:
authorEvgeni Kolev <evgenysw@gmail.com>2018-03-04 15:31:32 +0200
committerEvgeni Kolev <evgenysw@gmail.com>2018-03-04 15:51:37 +0200
commit030b151bb9d90afff665700c3b0df54e45fcc650 (patch)
treed215bc2912a2f604d33f72c386a876cc42d7b7e9 /evil-commands.el
parent3bf198796b2d135776143eac854e8d855cd94475 (diff)
:global should take into account evil-ex-search-case
Diffstat (limited to 'evil-commands.el')
-rw-r--r--evil-commands.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/evil-commands.el b/evil-commands.el
index 49d5e3c..6ae1a45 100644
--- a/evil-commands.el
+++ b/evil-commands.el
@@ -3600,7 +3600,7 @@ This is the same as :%s//~/&"
;; flag. This isn't supported currently but should be simple to add
(evil-with-single-undo
(let ((case-fold-search
- (eq (evil-ex-regex-case pattern 'smart) 'insensitive))
+ (eq (evil-ex-regex-case pattern evil-ex-search-case) 'insensitive))
(command-form (evil-ex-parse command))
(transient-mark-mode transient-mark-mode)
(deactivate-mark deactivate-mark)