emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/denote d3f18c9fd2 3/5: Make denote-sort-get-directory-f


From: ELPA Syncer
Subject: [elpa] externals/denote d3f18c9fd2 3/5: Make denote-sort-get-directory-files docstring easier to read
Date: Wed, 29 Nov 2023 12:57:40 -0500 (EST)

branch: externals/denote
commit d3f18c9fd293311b800aa122d19d5c5fb397aa67
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Make denote-sort-get-directory-files docstring easier to read
---
 denote-sort.el | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/denote-sort.el b/denote-sort.el
index 69ab35cfc0..35592ca5d4 100644
--- a/denote-sort.el
+++ b/denote-sort.el
@@ -87,12 +87,15 @@ With optional REVERSE as a non-nil value, reverse the sort 
order."
 
 (defun denote-sort-get-directory-files (files-matching-regexp 
sort-by-component &optional reverse)
   "Return sorted list of files in variable `denote-directory'.
-FILES-MATCHING-REGEXP is a string that limits files to those
-matching the given regular expression.  SORT-BY-COMPONENT is a
-keyword passed to `denote-sort-files' to sort by the
-corresponding file name component.
 
-REVERSE."
+With FILES-MATCHING-REGEXP as a string limit files to those
+matching the given regular expression.
+
+With SORT-BY-COMPONENT as a Lisp keyword, pass it to
+`denote-sort-files' to sort by the corresponding file name
+component.
+
+With optional REVERSE as a non-nil value, reverse the sort order."
   (denote-sort-files
    (denote-directory-files-matching-regexp files-matching-regexp)
    sort-by-component



reply via email to

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