summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2017-11-10 12:12:46 +0200
committerEli Zaretskii <eliz@gnu.org>2017-11-10 12:12:46 +0200
commitc52a2aa8f363f7f7a32119948ed73b7e4a0772ef (patch)
tree00ab86791447dd2be44c410e3851096cd9f75438
parente592b924824db7528b3e7764fde5c4df383b6ee8 (diff)
downloademacs-c52a2aa8f363f7f7a32119948ed73b7e4a0772ef.tar.gz
Improve the doc string of 'dired-isearch-filter-filenames'
* lisp/dired-aux.el (dired-isearch-filter-filenames): Doc fix. (Bug#29215)
-rw-r--r--lisp/dired-aux.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el
index 03639f6b507..8fb2c1ff948 100644
--- a/lisp/dired-aux.el
+++ b/lisp/dired-aux.el
@@ -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))