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

    Mention 'denote-sluggify-signature' in 'denote-signature-prompt'
---
 README.org | 13 ++++++++-----
 denote.el  |  2 +-
 2 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/README.org b/README.org
index f7b5447b8d..5aa72082a3 100644
--- a/README.org
+++ b/README.org
@@ -3840,11 +3840,14 @@ might change them without further notice.
   from =FILE= front matter per =FILE-TYPE=.
 
 #+findex: denote-signature-prompt
-+ Function ~denote-signature-prompt~ :: Prompt for signature string.
-  With optional =DEFAULT-SIGNATURE= use it as the default minibuffer
-  value. With optional =PROMPT-TEXT= use it in the minibuffer instead
-  of the default prompt. [ The =DEFAULT-SIGNATURE= and =PROMPT-TEXT=
-  arguments are added as part of {{{development-version}}}. ]
++ Function ~denote-signature-prompt~ :: Prompt for signature string
+  and apply ~denote-sluggify-signature~ to it. With optional
+  =DEFAULT-SIGNATURE= use it as the default minibuffer value. With
+  optional =PROMPT-TEXT= use it in the minibuffer instead of the
+  default prompt. [ The =DEFAULT-SIGNATURE= and =PROMPT-TEXT=
+  arguments are added as part of {{{development-version}}}. Same for
+  the parsing application of ~denote-sluggify-signature~ to the user
+  input (this was always the intent). ]
 
 #+findex: denote-file-prompt
 + Function ~denote-file-prompt~ :: Prompt for file with identifier in
diff --git a/denote.el b/denote.el
index cc32f09af4..a88f4b8469 100644
--- a/denote.el
+++ b/denote.el
@@ -1849,7 +1849,7 @@ packages such as `marginalia' and `embark')."
   "Minibuffer history of `denote-signature-prompt'.")
 
 (defun denote-signature-prompt (&optional default-signature prompt-text)
-  "Prompt for signature string.
+  "Prompt for signature string and apply `denote-sluggify-signature' to it.
 With optional DEFAULT-SIGNATURE use it as the default minibuffer
 value.  With optional PROMPT-TEXT use it in the minibuffer
 instead of the default prompt."

Reply via email to