emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/denote a4e08bd4f5 4/5: Make 'denote-signature-prompt' s


From: ELPA Syncer
Subject: [elpa] externals/denote a4e08bd4f5 4/5: Make 'denote-signature-prompt' sluggify the input
Date: Tue, 24 Oct 2023 03:57:52 -0400 (EDT)

branch: externals/denote
commit a4e08bd4f5e0822e1d4a5ccff4349cba8589a375
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@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.8641@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
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]