From dfc3a8fc60486e6df8340f5c6444239590bc0e02 Mon Sep 17 00:00:00 2001 From: Jack Baty Date: Wed, 8 Jun 2022 06:42:52 -0400 Subject: [PATCH] Use denote-directory rather than hardcoded path --- denote.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/denote.el b/denote.el index b76a5fe..edd20b0 100644 --- a/denote.el +++ b/denote.el @@ -297,7 +297,7 @@ TITLE, DATE, KEYWORDS, FILENAME, ID are all strings which are "#+identifier: " id "\n" "#+filename: " (string-remove-prefix denote-directory filename) "\n" "#+path: " filename "\n" - "#+link: " "denote /home/prot/Documents/notes/%s" + "#+link: " "denote " denote-directory "%s" "\n\n"))) (defun denote--path (title keywords)