aboutsummaryrefslogtreecommitdiff
path: root/evil-search.el
diff options
context:
space:
mode:
authorJustin Koh <j@ustink.org>2023-08-10 02:35:02 +0800
committerTom Dalziel <33435574+tomdl89@users.noreply.github.com>2023-08-10 16:38:46 +0100
commit5e72cf5b6d57b785ea229236bb5c4638db2c9a05 (patch)
tree31c1001b044e4b5fe53ba2a00e8493451213eb5b /evil-search.el
parent26db9441a13ebedb2481d7ada4c3b5e60ec22795 (diff)
Make evil-search-wrap-ring-bell work with evil-search
evil-search-wrap-ring-bell only worked when evil-search-module was isearch. Make it work with evil-search as well.
Diffstat (limited to 'evil-search.el')
-rw-r--r--evil-search.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/evil-search.el b/evil-search.el
index ec292a1..b81a7e2 100644
--- a/evil-search.el
+++ b/evil-search.el
@@ -739,6 +739,7 @@ the direcion is determined by `evil-ex-search-direction'."
((eq res 'wrapped) (setq wrapped t)))))
(if wrapped
(let (message-log-max)
+ (when evil-search-wrap-ring-bell (ding))
(message "Search wrapped")))
(goto-char (match-beginning 0))
(setq evil-ex-search-match-beg (match-beginning 0)