~protesilaos/denote

0df2021e86c057a5587d7c8efbf9e92f0f23e4ff — Protesilaos Stavrou 1 year, 10 days ago 6d59a16
Remove completed task from denote-sort--prepare-dired; tweak the function
1 files changed, 1 insertions(+), 5 deletions(-)

M denote-sort.el
M denote-sort.el => denote-sort.el +1 -5
@@ 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