branch: externals/denote commit a4e08bd4f5e0822e1d4a5ccff4349cba8589a375 Author: Protesilaos Stavrou <i...@protesilaos.com> Commit: Protesilaos Stavrou <i...@protesilaos.com>
Make 'denote-signature-prompt' sluggify the input Thanks to Suhail Singh for bringing this matter to my attention. It was done on the mailing list: <https://lists.sr.ht/~protesilaos/denote/%3C652d82c0.c80a0220.e6282.dc47%40mx.google.com%3E#%3c65361445.c80a0220.92d9c.8...@mx.google.com%3E>. --- denote.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/denote.el b/denote.el index 3cad5c68f4..cc32f09af4 100644 --- a/denote.el +++ b/denote.el @@ -1853,9 +1853,10 @@ packages such as `marginalia' and `embark')." 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." - (read-string - (format-prompt (or prompt-text "Provide signature") nil) - nil 'denote--signature-history default-signature)) + (denote-sluggify-signature + (read-string + (format-prompt (or prompt-text "Provide signature") nil) + nil 'denote--signature-history default-signature))) ;;;;; Convenience commands as `denote' variants