branch: externals/denote-org
commit d0e7a8ddf7aa7292c25ed2b0f90f0cf830cefdec
Author: Protesilaos Stavrou <i...@protesilaos.com>
Commit: Protesilaos Stavrou <i...@protesilaos.com>

    Remove the nested file prompts in the denote-org-dblock-insert-sequence
    
    The function denote--rename-dired-file-or-current-file-or-prompt might
    prompt for a file, which we do not want inside of this file prompt.
---
 denote-org.el | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/denote-org.el b/denote-org.el
index 8ab3b9de05..8a190f7678 100644
--- a/denote-org.el
+++ b/denote-org.el
@@ -973,11 +973,7 @@ Used by `org-dblock-update' with PARAMS provided by the 
dynamic block."
 DEPTH of the root FILE is 1. Using 2 lists children, 3 grandchildren, and so 
on."
     (interactive
      (list
-      (denote-sequence-file-prompt
-       (format "List descendants of:"
-               (propertize
-                (denote--rename-dired-file-or-current-file-or-prompt)
-                'face 'denote-faces-prompt-current-name)))
+      (denote-sequence-file-prompt "List descendants of")
       (denote-sequence-depth-prompt "Maximum relative depth from root node: " 
2))
      org-mode)
     (org-create-dblock (list :name "denote-sequence"

Reply via email to