diff options
author | Dmitry Kurochkin <dmitry.kurochkin@gmail.com> | 2011-05-27 22:14:38 -0300 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2011-05-27 22:14:38 -0300 |
commit | 66e2e71d556785cd10270931c6fc0424b9dea6a6 (patch) | |
tree | ebf07e033648e9d0e6aa9cb737dbeeff575d5549 /lisp/isearch.el | |
parent | 93a1c12a9a098902721062e32273e5014804b6b5 (diff) | |
download | emacs-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.el | 2 |
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)) |