branch: externals/denote-journal
commit 39728e976a9d5b06c14431746649d290c1b9eac0
Author: Honza Pokorny <[email protected]>
Commit: Honza Pokorny <[email protected]>
Avoid concating absolute path to denote-directory
---
denote-journal.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/denote-journal.el b/denote-journal.el
index 5b68300e99..caa31e025a 100644
--- a/denote-journal.el
+++ b/denote-journal.el
@@ -213,7 +213,7 @@ Perform the operation relative to the variable
`denote-journal-directory'."
(relative-files (mapcar
#'denote-get-file-name-relative-to-denote-directory files))
(file (if (> (length files) 1)
(completing-read "Select journal entry: "
(denote--completion-table 'file relative-files) nil t)
- (car files))))
+ (car relative-files))))
(concat denote-directory file)))
;;;###autoload