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

    Make denote-sequence-new-child actually get the child of sequence
---
 denote-sequence.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/denote-sequence.el b/denote-sequence.el
index 1ff3e5ffe0..7131cb226b 100644
--- a/denote-sequence.el
+++ b/denote-sequence.el
@@ -246,7 +246,7 @@ When called from Lisp, SEQUENCE is a string that conforms 
with `denote-sequence-
   "Convenience wrapper of `denote-sequence' to create new child of SEQUENCE."
   (declare (interactive-only t))
   (interactive (list (denote-retrieve-filename-signature 
(denote-sequence-file-prompt))))
-  (let* ((new-sequence (denote-sequence-get 'sibling sequence))
+  (let* ((new-sequence (denote-sequence-get 'child sequence))
          (denote-use-signature new-sequence))
     (call-interactively 'denote)))
 

Reply via email to