diff options
| author | Johannes Neyer <29305982+johannesneyer@users.noreply.github.com> | 2021-09-02 22:16:59 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-02 22:16:59 +0200 |
| commit | 82e5becae21b7768ffbb4728bce83dab8751d610 (patch) | |
| tree | 1423c97a309f89c31009f43c5bd45c5702dea821 /evil-search.el | |
| parent | cfa44def53ff1580d6dfce6a0f8bd9ff5a556e5f (diff) | |
Add `evil-search-wrap-ring-bell` customization variable (#1509)
Diffstat (limited to 'evil-search.el')
| -rw-r--r-- | evil-search.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/evil-search.el b/evil-search.el index 1e9d972..efe7883 100644 --- a/evil-search.el +++ b/evil-search.el @@ -264,8 +264,10 @@ one more than the current position." ;; determine message for echo area (cond ((and forward (< (point) start)) + (when evil-search-wrap-ring-bell (ding)) (setq string "Search wrapped around BOTTOM of buffer")) ((and (not forward) (> (point) start)) + (when evil-search-wrap-ring-bell (ding)) (setq string "Search wrapped around TOP of buffer")) (t (setq string (evil-search-message string forward)))) |
