]> git.eshelyaron.com Git - emacs.git/commitdiff
; * lisp/isearch.el (isearch-search-fun-in-text-property): Doc fix.
authorEli Zaretskii <eliz@gnu.org>
Sun, 12 Jun 2022 17:43:24 +0000 (20:43 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sun, 12 Jun 2022 17:43:24 +0000 (20:43 +0300)
lisp/isearch.el

index fb52bfe30cb48fb77779703d7df867d61f3183d5..91aaa66a5b5f5409568661839939c95b28c8c93a 100644 (file)
@@ -4456,12 +4456,11 @@ LAX-WHITESPACE: The value of `isearch-lax-whitespace' and
 
 \f
 (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.