changeset 20812:d21a1c41800f

(isearch-range-invisible): Avoid infinite loop when search-invisible is nil.
author Richard M. Stallman <rms@gnu.org>
date Mon, 02 Feb 1998 00:18:33 +0000
parents 1e07c8543929
children b040da7cfab8
files lisp/isearch.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/isearch.el	Mon Feb 02 00:17:19 1998 +0000
+++ b/lisp/isearch.el	Mon Feb 02 00:18:33 1998 +0000
@@ -1625,8 +1625,8 @@
 		       ;; It makes sense to append to the open
 		       ;; overlays list only if we know that this is
 		       ;; t.
-		       (setq crt-overlays (append ov-list crt-overlays))))
-		 (goto-char (next-overlay-change (point))))))
+		       (setq crt-overlays (append ov-list crt-overlays)))))
+	       (goto-char (next-overlay-change (point)))))
 	 ;; See if invisibility reaches up thru END.
 	 (if (>= (point) end)
 	     (if (and (not (null can-be-opened)) (consp crt-overlays))