* lisp/isearch.el (isearch-range-invisible): Use invisible-p.

Fixes: debbugs:8721
This commit is contained in:
Dmitry Kurochkin 2011-05-27 22:14:38 -03:00 committed by Stefan Monnier
parent 93a1c12a9a
commit 66e2e71d55
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
* isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
2009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
* emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new

View file

@ -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))