aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/isearch.el11
1 files changed, 5 insertions, 6 deletions
diff --git a/lisp/isearch.el b/lisp/isearch.el
index fb52bfe30cb..91aaa66a5b5 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -4456,12 +4456,11 @@ LAX-WHITESPACE: The value of `isearch-lax-whitespace' and
4456 4456
4457 4457
4458(defun isearch-search-fun-in-text-property (property &optional search-fun) 4458(defun isearch-search-fun-in-text-property (property &optional search-fun)
4459 "Return the function that searches inside text properties. 4459 "Return the function to search inside text that has the specified PROPERTY.
4460The arg PROPERTY defines the name of the text property, and the search 4460The function will limit the search for matches only inside text which has
4461will be narrowed to match only inside such text properties in the current 4461this property in the current buffer.
4462buffer. The optional arg SEARCH-FUN can provide the default search 4462Optional argument SEARCH-FUN provides the function to search text, and
4463function which is by default is the same as returned by 4463defaults to the value of `isearch-search-fun-default'."
4464`isearch-search-fun-default'."
4465 (lambda (string &optional bound noerror count) 4464 (lambda (string &optional bound noerror count)
4466 (let* ((old (point)) 4465 (let* ((old (point))
4467 ;; Check if point is already on the property. 4466 ;; Check if point is already on the property.