Skip to content

Commit

Permalink
Make evil-search-wrap-ring-bell work with evil-search
Browse files Browse the repository at this point in the history
evil-search-wrap-ring-bell only worked when evil-search-module was isearch.
Make it work with evil-search as well.
  • Loading branch information
jn64 committed Aug 9, 2023
1 parent 26db944 commit 9eb6923
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions evil-search.el
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9eb6923

Please sign in to comment.