# HG changeset patch # User Juri Linkov # Date 1275817933 -10800 # Node ID cc0a50e332410ce15747df1f80315d9bf6ecf3a1 # Parent d86e65007470c365ed0791946ca51097803cc4a4 * 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) diff -r d86e65007470 -r cc0a50e33241 lisp/ChangeLog --- a/lisp/ChangeLog Sun Jun 06 01:57:39 2010 -0700 +++ b/lisp/ChangeLog Sun Jun 06 12:52:13 2010 +0300 @@ -1,3 +1,9 @@ +2010-06-06 Juri Linkov + + * 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 vc-log-incoming/vc-log-outgoing fixes for Git. diff -r d86e65007470 -r cc0a50e33241 lisp/isearch.el --- a/lisp/isearch.el Sun Jun 06 01:57:39 2010 -0700 +++ b/lisp/isearch.el Sun Jun 06 12:52:13 2010 +0300 @@ -2667,6 +2667,8 @@ ;; 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)))