branch: externals/denote
commit 2261b7008a43e9e37c3b11789da7bd34346c0fb7
Author: Jean-Philippe Gagné Guay <[email protected]>
Commit: Jean-Philippe Gagné Guay <[email protected]>
Fix denote-org-extras-dblock--get-file-contents
---
denote-org-extras.el | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/denote-org-extras.el b/denote-org-extras.el
index e0f1eb90e2..ac0b4b1ba4 100644
--- a/denote-org-extras.el
+++ b/denote-org-extras.el
@@ -284,13 +284,9 @@ argument."
(format "- %s\n\n"
(denote-format-link
file
- (if (eq add-links 'id-only)
- denote-id-only-link-format
- denote-org-link-format)
- (let ((type (denote-filetype-heuristics file)))
- (if (denote-file-has-signature-p file)
- (denote--link-get-description-with-signature file type)
- (denote--link-get-description file type)))))))
+ (denote--link-get-description file)
+ 'org
+ (eq add-links 'id-only)))))
(let ((beginning-of-contents (point)))
(insert-file-contents file)
(when no-front-matter