branch: externals/denote commit 85b5290e8b550d506ab36c911b2d42c39f43fecd Author: Protesilaos Stavrou <i...@protesilaos.com> Commit: Protesilaos Stavrou <i...@protesilaos.com>
Fix bug where Unicode chars are not encoded This was revealed when Frank Ehmsen tried to create a link with German umlauts. Reported on the mailing list: <https://lists.sr.ht/~protesilaos/denote/%3ccf3d35f8-acfa-5056-cfa4-63a57ea15...@eh-is.de%3E>. --- denote-retrieve.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/denote-retrieve.el b/denote-retrieve.el index 2aca033e2e..e12734ee83 100644 --- a/denote-retrieve.el +++ b/denote-retrieve.el @@ -75,7 +75,7 @@ Optional GROUP is a regexp construct for `denote-retrieve--search'." (let ((default-directory (denote-directory))) (with-temp-buffer - (insert-file-contents-literally file) + (insert-file-contents file) (or (denote-retrieve--search regexp group) nil))))