]> git.eshelyaron.com Git - emacs.git/commitdiff
; Autoload text property search functions
authorEshel Yaron <me@eshelyaron.com>
Wed, 28 Feb 2024 16:58:02 +0000 (17:58 +0100)
committerEshel Yaron <me@eshelyaron.com>
Wed, 28 Feb 2024 17:00:22 +0000 (18:00 +0100)
lisp/emacs-lisp/text-property-search.el

index f05219f839b1cc403721de3bb9cc83c000eae17f..3c9a30181aa398da87356a18b02ac563b1cb3354 100644 (file)
@@ -29,6 +29,7 @@
 (cl-defstruct (prop-match)
   beginning end value)
 
+;;;###autoload
 (defun text-property-search-forward (property &optional value predicate
                                               not-current)
   "Search for next region of text where PREDICATE returns non-nil for PROPERTY.
@@ -133,6 +134,7 @@ for the value of PROPERTY in the region."
                      :value (get-text-property start property))))
 
 
+;;;###autoload
 (defun text-property-search-backward (property &optional value predicate
                                                not-current)
   "Search for previous region of text where PREDICATE returns non-nil for PROPERTY.