Improve the doc string of 'dired-isearch-filter-filenames'

* lisp/dired-aux.el (dired-isearch-filter-filenames): Doc fix.
(Bug#29215)
This commit is contained in:
Eli Zaretskii 2017-11-10 12:12:46 +02:00
parent e592b92482
commit c52a2aa8f3

View file

@ -2748,9 +2748,9 @@ Intended to be added to `isearch-mode-hook'."
(remove-hook 'isearch-mode-end-hook 'dired-isearch-filenames-end t))
(defun dired-isearch-filter-filenames (beg end)
"Test whether the current search hit is a file name.
Return non-nil if the text from BEG to END is part of a file
name (has the text property `dired-filename')."
"Test whether some part of the current search match is inside a file name.
This function returns non-nil if some part of the text between BEG and END
is part of a file name (i.e., has the text property `dired-filename')."
(text-property-not-all (min beg end) (max beg end)
'dired-filename nil))