branch: externals/denote
commit d28f66aa7159b97ecc27bb1a04723c148277033a
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>
Make denote--add-prompts prepend ADDITIONAL-PROMPTS
This way we retain the original behaviour of the convenience
functions, such as 'denote-type', which first prompt for what they are
about.
---
denote.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/denote.el b/denote.el
index 631d4b64b2..4115d076e5 100644
--- a/denote.el
+++ b/denote.el
@@ -2260,7 +2260,7 @@ With optional PROMPT-TEXT use it instead of a generic
prompt."
(defun denote--add-prompts (additional-prompts)
"Add all the elements in the ADDITIONAL-PROMPTS list to `denote-prompts'."
- (seq-union denote-prompts additional-prompts))
+ (seq-union additional-prompts denote-prompts))
;;;###autoload
(defun denote-type ()