aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Kurochkin2011-05-27 22:14:38 -0300
committerStefan Monnier2011-05-27 22:14:38 -0300
commit66e2e71d556785cd10270931c6fc0424b9dea6a6 (patch)
treeebf07e033648e9d0e6aa9cb737dbeeff575d5549
parent93a1c12a9a098902721062e32273e5014804b6b5 (diff)
downloademacs-66e2e71d556785cd10270931c6fc0424b9dea6a6.tar.gz
emacs-66e2e71d556785cd10270931c6fc0424b9dea6a6.zip
* lisp/isearch.el (isearch-range-invisible): Use invisible-p.
Fixes: debbugs:8721
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/isearch.el2
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 29749a75087..fe1f6cdeaba 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
2
3 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
4
12009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org> 52009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
2 6
3 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new 7 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
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."
2435 ;; skip all characters with that same `invisible' property value. 2435 ;; skip all characters with that same `invisible' property value.
2436 ;; Do that over and over. 2436 ;; Do that over and over.
2437 (while (and (< (point) end) (invisible-p (point))) 2437 (while (and (< (point) end) (invisible-p (point)))
2438 (if (get-text-property (point) 'invisible) 2438 (if (invisible-p (get-text-property (point) 'invisible))
2439 (progn 2439 (progn
2440 (goto-char (next-single-property-change (point) 'invisible 2440 (goto-char (next-single-property-change (point) 'invisible
2441 nil end)) 2441 nil end))