branch: externals/denote commit b78efdcab80a959dcbcc4637b474aa27136678ef Author: Protesilaos Stavrou <i...@protesilaos.com> Commit: Protesilaos Stavrou <i...@protesilaos.com>
Use expand-file-name instead of concat in denote-file-prompt I think this is the proper way of constructing a full file system path. --- denote.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/denote.el b/denote.el index f158c55f76..318235e9d7 100644 --- a/denote.el +++ b/denote.el @@ -1386,7 +1386,7 @@ Return the absolute path to the matching file." (denote--completion-table 'file relative-files) nil (unless no-require-match :require-match) nil 'denote-file-history)) - (absolute-file (concat (denote-directory) input))) + (absolute-file (expand-file-name input (denote-directory)))) ;; NOTE: This block is executed when no-require-match is t. It is useful ;; for commands such as `denote-open-or-create` or similar. (unless (file-exists-p absolute-file)