Commit 27dd3c11 authored by Juri Linkov's avatar Juri Linkov
Browse files

* lisp/isearch.el (isearch-lazy-highlight-search): Fix looping

by checking for empty match.  This syncs this loop with the
similar loop in `isearch-search'.  (Bug#6362)
parent 3085237c
2010-06-06 Juri Linkov <juri@jurta.org>
* isearch.el (isearch-lazy-highlight-search): Fix looping
by checking for empty match. This syncs this loop with the
similar loop in `isearch-search'. (Bug#6362)
2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
 
vc-log-incoming/vc-log-outgoing fixes for Git.
......
......@@ -2667,6 +2667,8 @@ Attempt to do the search exactly the way the pending Isearch would."
;; Clear RETRY unless the search predicate says
;; to skip this search hit.
(if (or (not success)
(= (point) bound) ; like (bobp) (eobp) in `isearch-search'.
(= (match-beginning 0) (match-end 0))
(funcall isearch-filter-predicate
(match-beginning 0) (match-end 0)))
(setq retry nil)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment