branch: externals/denote-org
commit 29bc8e98c154ef9728fcd63b13b57b6028620c29
Author: Peter Prevos <pe...@prevos.net>
Commit: Peter Prevos <pe...@prevos.net>

    BUG: Correct variable declaration in sequence insertion
---
 denote-org.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/denote-org.el b/denote-org.el
index f296c45785..ab9f04db48 100644
--- a/denote-org.el
+++ b/denote-org.el
@@ -1022,9 +1022,9 @@ When no FILES are provided, use all files with a sequence 
signature."
 (with-eval-after-load 'denote-sequence
   (defun denote-org--insert-sequence (files)
     "Insert indented list of links to sequence FILES."
-    (let ((root-sequence (denote-retrieve-filename-signature (car files)))
-         (root-depth (denote-sequence-depth root-sequence))
-         (links '()))
+    (let* ((root-sequence (denote-retrieve-filename-signature (car files)))
+          (root-depth (denote-sequence-depth root-sequence))
+          (links '()))
       (message "Inserting %s links" (length files))
       (dolist (file files)
        (let* ((sequence (denote-retrieve-filename-signature file))

Reply via email to