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

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

[elpa] externals/denote 1c80ff0ac6 2/5: Make denote-sort-files docstring


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

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

    Make denote-sort-files docstring easier to read
---
 denote-sort.el | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/denote-sort.el b/denote-sort.el
index f584d16718..69ab35cfc0 100644
--- a/denote-sort.el
+++ b/denote-sort.el
@@ -63,13 +63,15 @@ two signature values." component)
 ;;;###autoload
 (defun denote-sort-files (files &optional component reverse)
   "Returned sorted list of Denote FILES.
+
 With optional COMPONENT as a keyword of `:signature', `:title',
 `:keywords', sort files based on the corresponding file name
-component.  Without COMPONENT, do not sort: keep the original
-date-based sorting which relies on the identifier component of
-each file name.
+component.
+
+Without COMPONENT, do not sort: keep the original date-based
+sorting which relies on the identifier of each file name.
 
-With optional REVERSE as a non-nil value, reverse the order."
+With optional REVERSE as a non-nil value, reverse the sort order."
   (let* ((files-to-sort (copy-sequence files))
          (sorted-files (if component
                            (sort files



reply via email to

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