Use denote-directory rather than hardcoded path

This commit is contained in:
Jack Baty 2022-06-08 06:42:52 -04:00 committed by Protesilaos Stavrou
parent 69e35281da
commit dfc3a8fc60
No known key found for this signature in database
GPG key ID: 99BD6459CD5CA3EA

View file

@ -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)