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 <tom_dl@hotmail.com>2023-08-20 23:46:23 +0100
commit46ab271a524c9eda90fa2ddd272e0f2232fa1c87 (patch)
treeb94a969d55a2017365fdf56a5b2aa770731e3d39 /evil-search.el
parent433c28cb104dae506205485b87c2c13d2458f495 (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)