Skip to content

Commit

Permalink
swiper.el (swiper): Add isearch-clean-overlays
Browse files Browse the repository at this point in the history
  • Loading branch information
abo-abo authored and astoff committed Jan 1, 2021
1 parent f06c8d3 commit 86357b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions swiper.el
Original file line number Diff line number Diff line change
Expand Up @@ -833,6 +833,7 @@ When non-nil, INITIAL-INPUT is the initial search pattern."
(point))
(unless (or res swiper-stay-on-quit)
(goto-char swiper--opoint))
(isearch-clean-overlays)
(unless (or res (string= ivy-text ""))
(cl-pushnew ivy-text swiper-history))
(setq swiper--current-window-start nil)
Expand Down

0 comments on commit 86357b1

Please sign in to comment.