summaryrefslogtreecommitdiff
path: root/lisp/isearch.el
diff options
context:
space:
mode:
authorJuri Linkov <juri@linkov.net>2022-06-15 10:32:09 +0300
committerJuri Linkov <juri@linkov.net>2022-06-15 10:32:09 +0300
commit112b6b8e37b5df268ced98c4354802275a4da417 (patch)
tree3511a89405970163c8df6953c65e92dc85fd23e1 /lisp/isearch.el
parent7547e4e60eb57051bc6fd4e74f1643f2760bba65 (diff)
downloademacs-112b6b8e37b5df268ced98c4354802275a4da417.tar.gz
Update args of isearch-search-fun-in-text-property (bug#14013)
* lisp/isearch.el (isearch-search-fun-in-text-property): Swap signature args. * lisp/dired-aux.el (dired-isearch-search-filenames): Update the call.
Diffstat (limited to 'lisp/isearch.el')
-rw-r--r--lisp/isearch.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/isearch.el b/lisp/isearch.el
index 91aaa66a5b5..7650ebcfcea 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -4455,12 +4455,12 @@ LAX-WHITESPACE: The value of `isearch-lax-whitespace' and
(funcall after-change nil nil nil)))))
-(defun isearch-search-fun-in-text-property (property &optional search-fun)
+(defun isearch-search-fun-in-text-property (search-fun property)
"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'."
+The argument SEARCH-FUN provides the function to search text, and
+defaults to the value of `isearch-search-fun-default' when nil."
(lambda (string &optional bound noerror count)
(let* ((old (point))
;; Check if point is already on the property.