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

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

[elpa] externals/denote 0df2021e86 1/6: Remove completed task from denot


From: ELPA Syncer
Subject: [elpa] externals/denote 0df2021e86 1/6: Remove completed task from denote-sort--prepare-dired; tweak the function
Date: Mon, 4 Dec 2023 03:57:46 -0500 (EST)

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

    Remove completed task from denote-sort--prepare-dired; tweak the function
---
 denote-sort.el | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/denote-sort.el b/denote-sort.el
index 413173dfbf..771dc19e81 100644
--- a/denote-sort.el
+++ b/denote-sort.el
@@ -159,11 +159,7 @@ With optional REVERSE as a non-nil value, reverse the sort 
order."
   "Return Dired buffer with BUFFER-NAME showing FILES.
 FILES are stripped of their directory component and are displayed
 relative to the variable `denote-directory'."
-  ;; TODO 2023-11-29: Can we improve font-lock to cover the directory
-  ;; component which is on display for files inside a subdir of
-  ;; `denote-directory'?
-  (let* ((dir (denote-directory))
-         (default-directory dir))
+  (let ((default-directory (denote-directory)))
     (dired (cons buffer-name (mapcar #'file-relative-name files)))))
 
 ;;;###autoload



reply via email to

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