summaryrefslogtreecommitdiff
path: root/lisp/isearch.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2022-06-12 20:43:24 +0300
committerEli Zaretskii <eliz@gnu.org>2022-06-12 20:43:24 +0300
commit2745fc70cf045bf3aa3ffdc98264138aecb8adb5 (patch)
tree5121908e77d9d8b943af619b89e0ab44d6b1cfb0 /lisp/isearch.el
parente42d4d2ddf4f193c2e3b9391fd6b4cb4ea3ba4b3 (diff)
downloademacs-2745fc70cf045bf3aa3ffdc98264138aecb8adb5.tar.gz
; * lisp/isearch.el (isearch-search-fun-in-text-property): Doc fix.
Diffstat (limited to 'lisp/isearch.el')
-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
(defun isearch-search-fun-in-text-property (property &optional search-fun)
- "Return the function that searches inside text properties.
-The arg PROPERTY defines the name of the text property, and the search
-will be narrowed to match only inside such text properties in the current
-buffer. The optional arg SEARCH-FUN can provide the default search
-function which is by default is the same as returned by
-`isearch-search-fun-default'."
+ "Return the function to search inside text that has the specified PROPERTY.
+The function will limit the search for matches only inside text which has
+this property in the current buffer.
+Optional argument SEARCH-FUN provides the function to search text, and
+defaults to the value of `isearch-search-fun-default'."
(lambda (string &optional bound noerror count)
(let* ((old (point))
;; Check if point is already on the property.