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:
parent
e592b92482
commit
c52a2aa8f3
1 changed files with 3 additions and 3 deletions
|
@ -2748,9 +2748,9 @@ Intended to be added to `isearch-mode-hook'."
|
||||||
(remove-hook 'isearch-mode-end-hook 'dired-isearch-filenames-end t))
|
(remove-hook 'isearch-mode-end-hook 'dired-isearch-filenames-end t))
|
||||||
|
|
||||||
(defun dired-isearch-filter-filenames (beg end)
|
(defun dired-isearch-filter-filenames (beg end)
|
||||||
"Test whether the current search hit is a file name.
|
"Test whether some part of the current search match is inside a file name.
|
||||||
Return non-nil if the text from BEG to END is part of a file
|
This function returns non-nil if some part of the text between BEG and END
|
||||||
name (has the text property `dired-filename')."
|
is part of a file name (i.e., has the text property `dired-filename')."
|
||||||
(text-property-not-all (min beg end) (max beg end)
|
(text-property-not-all (min beg end) (max beg end)
|
||||||
'dired-filename nil))
|
'dired-filename nil))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue