emacs-diffs
[Top][All Lists]
Advanced

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

emacs-28 25e53e9391: ; * lisp/files.el (file-expand-wildcards): Doc fix.


From: Eli Zaretskii
Subject: emacs-28 25e53e9391: ; * lisp/files.el (file-expand-wildcards): Doc fix.
Date: Sun, 5 Jun 2022 09:41:04 -0400 (EDT)

branch: emacs-28
commit 25e53e93910f19ff66aa8f13271f119218acdc6f
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    ; * lisp/files.el (file-expand-wildcards): Doc fix.
---
 lisp/files.el | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/lisp/files.el b/lisp/files.el
index 292c05b58e..ea57f02ac0 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -7109,15 +7109,15 @@ by `sh' are supported."
   :group 'dired)
 
 (defun file-expand-wildcards (pattern &optional full)
-  "Expand wildcard pattern PATTERN.
-This returns a list of file names that match the pattern.
-Files are sorted in `string<' order.
+  "Expand (a.k.a. \"glob\") file-name wildcard pattern PATTERN.
+This returns a list of file names that match PATTERN.
+The returned list of file names is sorted in the `string<' order.
 
 If PATTERN is written as an absolute file name,
-the values are absolute also.
+the expansions in the returned list are also absolute.
 
 If PATTERN is written as a relative file name, it is interpreted
-relative to the current default directory, `default-directory'.
+relative to the current `default-directory'.
 The file names returned are normally also relative to the current
 default directory.  However, if FULL is non-nil, they are absolute."
   (save-match-data



reply via email to

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