branch: externals/denote
commit a214901fd4a5b5bc0aebd969848f4ca66d284430
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>

    Refine how denote-file-type-prompt gets candidates
---
 denote.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/denote.el b/denote.el
index 0fb1a89347..5a7d697bb6 100644
--- a/denote.el
+++ b/denote.el
@@ -1456,7 +1456,7 @@ Note that a non-nil value other than `text', 
`markdown-yaml', and
 `markdown-toml' falls back to an Org file type.  We use `org'
 here for clarity."
   (completing-read
-   "Select file type: " '(org markdown-yaml markdown-toml text) nil t
+   "Select file type: " (denote--file-type-keys) nil t
    nil 'denote--file-type-history))
 
 (define-obsolete-function-alias

Reply via email to