[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r100535: * lisp/isearch.el (isearch-l
From: |
Juri Linkov |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r100535: * lisp/isearch.el (isearch-lazy-highlight-search): Fix looping |
Date: |
Sun, 06 Jun 2010 12:52:13 +0300 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 100535
committer: Juri Linkov <address@hidden>
branch nick: trunk
timestamp: Sun 2010-06-06 12:52:13 +0300
message:
* 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)
modified:
lisp/ChangeLog
lisp/isearch.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2010-06-05 09:56:22 +0000
+++ b/lisp/ChangeLog 2010-06-06 09:52:13 +0000
@@ -1,3 +1,9 @@
+2010-06-06 Juri Linkov <address@hidden>
+
+ * 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 <address@hidden>
vc-log-incoming/vc-log-outgoing fixes for Git.
=== modified file 'lisp/isearch.el'
--- a/lisp/isearch.el 2010-05-20 22:33:09 +0000
+++ b/lisp/isearch.el 2010-06-06 09:52:13 +0000
@@ -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)))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r100535: * lisp/isearch.el (isearch-lazy-highlight-search): Fix looping,
Juri Linkov <=