summaryrefslogtreecommitdiff
path: root/lisp/isearch.el
diff options
context:
space:
mode:
authorDmitry Kurochkin <dmitry.kurochkin@gmail.com>2011-05-27 22:14:38 -0300
committerStefan Monnier <monnier@iro.umontreal.ca>2011-05-27 22:14:38 -0300
commit66e2e71d556785cd10270931c6fc0424b9dea6a6 (patch)
treeebf07e033648e9d0e6aa9cb737dbeeff575d5549 /lisp/isearch.el
parent93a1c12a9a098902721062e32273e5014804b6b5 (diff)
downloademacs-66e2e71d556785cd10270931c6fc0424b9dea6a6.tar.gz
* lisp/isearch.el (isearch-range-invisible): Use invisible-p.
Fixes: debbugs:8721
Diffstat (limited to 'lisp/isearch.el')
-rw-r--r--lisp/isearch.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/isearch.el b/lisp/isearch.el
index 008cf2ce58a..1bb08d1ebb4 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -2435,7 +2435,7 @@ update the match data, and return point."
;; skip all characters with that same `invisible' property value.
;; Do that over and over.
(while (and (< (point) end) (invisible-p (point)))
- (if (get-text-property (point) 'invisible)
+ (if (invisible-p (get-text-property (point) 'invisible))
(progn
(goto-char (next-single-property-change (point) 'invisible
nil end))