emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/denote 2261b7008a 2/5: Fix denote-org-extras-dblock--ge


From: ELPA Syncer
Subject: [elpa] externals/denote 2261b7008a 2/5: Fix denote-org-extras-dblock--get-file-contents
Date: Sat, 27 Jan 2024 00:57:38 -0500 (EST)

branch: externals/denote
commit 2261b7008a43e9e37c3b11789da7bd34346c0fb7
Author: Jean-Philippe Gagné Guay <jeanphilippe150@gmail.com>
Commit: Jean-Philippe Gagné Guay <jeanphilippe150@gmail.com>

    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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]