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

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

[elpa] externals/denote 4050bf6caf 08/10: Fix denote-org-dblock-add-file


From: ELPA Syncer
Subject: [elpa] externals/denote 4050bf6caf 08/10: Fix denote-org-dblock-add-files case of REVERSE without SORT-BY-COMPONENT
Date: Thu, 30 Nov 2023 00:57:47 -0500 (EST)

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

    Fix denote-org-dblock-add-files case of REVERSE without SORT-BY-COMPONENT
---
 denote-org-dblock.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/denote-org-dblock.el b/denote-org-dblock.el
index 7cb54bb236..7726e5d438 100644
--- a/denote-org-dblock.el
+++ b/denote-org-dblock.el
@@ -161,6 +161,8 @@ If optional REVERSE is non-nil reverse the sort order."
            (denote-sort-get-directory-files regexp sort-by-component reverse))
           (sort-by-component
            (denote-sort-get-directory-files regexp sort-by-component))
+          (reverse
+           (denote-sort-get-directory-files regexp :no-component-specified 
reverse))
           (t
            (denote-directory-files-matching-regexp regexp)))))
     ;; FIXME 2023-11-23: Do not use a separator for the last file.



reply via email to

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