branch: externals/denote-markdown
commit 11b0e48412d152b23bc260a3274997c33b6128a4
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>

    Use new calling convention for the denote-directory function
---
 denote-markdown.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/denote-markdown.el b/denote-markdown.el
index 125f82ed85..ef2118ffd9 100644
--- a/denote-markdown.el
+++ b/denote-markdown.el
@@ -145,7 +145,7 @@ Also see `denote-markdown-convert-links-to-denote-type'."
                   (id nil)
                   (description nil))
               (save-match-data
-                (setq file (expand-file-name (match-string-no-properties 1) 
(denote-directory))
+                (setq file (expand-file-name (match-string-no-properties 1) 
(car (denote-directories)))
                       id (denote-retrieve-filename-identifier file)
                       description (denote-get-link-description file)))
               (when id

Reply via email to