]> git.eshelyaron.com Git - emacs.git/commitdiff
(isearch-range-invisible): Handle the case that
authorKenichi Handa <handa@m17n.org>
Sat, 20 Jun 1998 02:59:51 +0000 (02:59 +0000)
committerKenichi Handa <handa@m17n.org>
Sat, 20 Jun 1998 02:59:51 +0000 (02:59 +0000)
buffer-invisibility-spec is t (i.e. not a list).

lisp/isearch.el

index 05710466adc55b3d3b190f31b6d291135cbb41a6..007801bb94608407d8c04e022962b7b7bf6c913b 100644 (file)
@@ -1619,8 +1619,10 @@ If there is no completion possible, say so and continue searching."
                   (while overlays
                     (setq o (car overlays)
                           invis-prop (overlay-get o 'invisible))
-                    (if (or (memq invis-prop buffer-invisibility-spec)
-                            (assq invis-prop buffer-invisibility-spec))
+                    (if (if (eq buffer-invisibility-spec t)
+                            invis-prop
+                          (or (memq invis-prop buffer-invisibility-spec)
+                              (assq invis-prop buffer-invisibility-spec)))
                         (if (overlay-get o 'isearch-open-invisible)
                             (setq ov-list (cons o ov-list))
                           ;; We found one overlay that cannot be