branch: externals/denote
commit 68ba7c1859096757b678cccbac72bbbc8ac5ddeb
Author: Protesilaos Stavrou <i...@protesilaos.com>
Commit: Protesilaos Stavrou <i...@protesilaos.com>

    Fix creation of new parent in command denote-sequence
---
 denote-sequence.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/denote-sequence.el b/denote-sequence.el
index 22512f74fd..4debe07df3 100644
--- a/denote-sequence.el
+++ b/denote-sequence.el
@@ -329,7 +329,7 @@ Files available at the minibuffer prompt are those returned 
by
   ;; TODO 2024-12-30: Do we need to wrap this in the following?
   ;;
   ;; (cl-letf (((alist-get 'signature denote-file-name-slug-functions) 
#'denote-sluggify-signature))
-  (let* ((sequence (denote-retrieve-filename-signature file-with-sequence))
+  (let* ((sequence (when file-with-sequence 
(denote-retrieve-filename-signature file-with-sequence)))
          (new-sequence (denote-sequence-get type sequence))
          (denote-use-signature new-sequence))
     (call-interactively 'denote)))

Reply via email to