* lisp/info.el (Info-isearch-filter): Treat non-nil values of
authorJuri Linkov <juri@jurta.org>
Thu, 14 Feb 2013 09:15:55 +0000 (11:15 +0200)
committerJuri Linkov <juri@jurta.org>
Thu, 14 Feb 2013 09:15:55 +0000 (11:15 +0200)
`search-invisible' including its default value `open'
like the value `t' to match hidden text.

Fixes: debbugs:13402

lisp/ChangeLog
lisp/info.el

index cb3f0fc..5be2e29 100644 (file)
@@ -1,3 +1,9 @@
+2013-02-14  Juri Linkov  <juri@jurta.org>
+
+       * info.el (Info-isearch-filter): Treat non-nil values of
+       `search-invisible' including its default value `open'
+       like the value `t' to match hidden text.  (Bug#13402)
+
 2013-02-14  Glenn Morris  <rgm@gnu.org>
 
        * help-fns.el (find-lisp-object-file-name): Give special treatment
index a6db9f3..24a7181 100644 (file)
@@ -2151,7 +2151,7 @@ and is not in the header line or a tag table."
     (let ((backward (< found beg-found)))
       (not
        (or
-       (and (not (eq search-invisible t))
+       (and (not search-invisible)
             (if backward
                 (or (text-property-not-all found beg-found 'invisible nil)
                     (text-property-not-all found beg-found 'display nil))