branch: externals/denote-review
commit d3d8892ccb35b1670095754a4a88b953d4e4f26f
Author: Matto Fransen <[email protected]>
Commit: Matto Fransen <[email protected]>

    unneeded let refactored
---
 denote-review.el | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/denote-review.el b/denote-review.el
index 856faa77e4..341d0e97f5 100644
--- a/denote-review.el
+++ b/denote-review.el
@@ -171,11 +171,10 @@ when called with the Universal Argument use current date.
 Does not overwrite existing reviewdates."
   (interactive)
   (if (eq major-mode 'dired-mode)
-      (let ((marked-files (dired-get-marked-files)))
-        (mapcar (lambda (file)
-                  (when (denote-file-is-writable-and-supported-p file)
-                    (denote-review-bulk-set-date file current-prefix-arg)))
-                marked-files))
+      (mapcar (lambda (file)
+                (when (denote-file-is-writable-and-supported-p file)
+                  (denote-review-bulk-set-date file current-prefix-arg)))
+              (dired-get-marked-files))
     (error (format "Command can only be used in a Dired buffer."))))
 
 ;; Collect keywords and prompt for a keyword to filter by.

Reply via email to