summaryrefslogtreecommitdiff
path: root/lisp/info.el
diff options
context:
space:
mode:
authorJuri Linkov <juri@jurta.org>2013-02-14 11:15:55 +0200
committerJuri Linkov <juri@jurta.org>2013-02-14 11:15:55 +0200
commitf6b6e113913293907433b21a7d8295f4bc53077e (patch)
treef5b8dbab9158a677ce8a49f30a4a84d462382b50 /lisp/info.el
parent6a378d89c52530744c24bc92342904347331b758 (diff)
downloademacs-f6b6e113913293907433b21a7d8295f4bc53077e.tar.gz
emacs-f6b6e113913293907433b21a7d8295f4bc53077e.tar.bz2
emacs-f6b6e113913293907433b21a7d8295f4bc53077e.zip
* lisp/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. Fixes: debbugs:13402
Diffstat (limited to 'lisp/info.el')
-rw-r--r--lisp/info.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/info.el b/lisp/info.el
index a6db9f3f4dc..24a7181ff52 100644
--- a/lisp/info.el
+++ b/lisp/info.el
@@ -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))