branch: externals/denote commit e200ff93aff636df5c216a2b68f9a4c58a871b54 Author: Protesilaos Stavrou <i...@protesilaos.com> Commit: Protesilaos Stavrou <i...@protesilaos.com>
Fix denote--slug-no-punct to replace dashes Thanks to Suhail Singh for reporting the bug on the mailing list: <https://lists.sr.ht/~protesilaos/denote/%3C652d82c0.c80a0220.e6282.dc47%40mx.google.com%3E>. --- denote.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/denote.el b/denote.el index 284d775509..6c70d091cd 100644 --- a/denote.el +++ b/denote.el @@ -608,7 +608,8 @@ Concretely, replace with spaces anything that matches the `denote-excluded-punctuation-extra-regexp'." (replace-regexp-in-string (concat denote-excluded-punctuation-regexp - denote-excluded-punctuation-extra-regexp) + denote-excluded-punctuation-extra-regexp + "-") "" str)) (defun denote--slug-hyphenate (str)