branch: externals/denote
commit dfc3a8fc60486e6df8340f5c6444239590bc0e02
Author: Jack Baty <j...@baty.net>
Commit: Protesilaos Stavrou <i...@protesilaos.com>

    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 b76a5fe56f..edd20b0e2c 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)

Reply via email to