emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-26 c52a2aa: Improve the doc string of 'dired-isearch


From: Eli Zaretskii
Subject: [Emacs-diffs] emacs-26 c52a2aa: Improve the doc string of 'dired-isearch-filter-filenames'
Date: Fri, 10 Nov 2017 05:13:27 -0500 (EST)

branch: emacs-26
commit c52a2aa8f363f7f7a32119948ed73b7e4a0772ef
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    Improve the doc string of 'dired-isearch-filter-filenames'
    
    * lisp/dired-aux.el (dired-isearch-filter-filenames): Doc fix.
    (Bug#29215)
---
 lisp/dired-aux.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el
index 03639f6..8fb2c1f 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))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]