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

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

[elpa] externals/denote ad7a102116 10/10: Use denote-get-link-descriptio


From: ELPA Syncer
Subject: [elpa] externals/denote ad7a102116 10/10: Use denote-get-link-description instead of denote--link-get-description in denote-org-extras.el
Date: Mon, 18 Nov 2024 03:58:00 -0500 (EST)

branch: externals/denote
commit ad7a10211653561ad74a36d7b308d584749a0171
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Use denote-get-link-description instead of denote--link-get-description in 
denote-org-extras.el
---
 denote-org-extras.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/denote-org-extras.el b/denote-org-extras.el
index 0fa9eaf360..bc5c1983e6 100644
--- a/denote-org-extras.el
+++ b/denote-org-extras.el
@@ -125,7 +125,7 @@ Also see `denote-org-extras-backlinks-for-heading'."
     (user-error "Links to headings only work between Org files"))
   (let ((context-p (eq denote-org-store-link-to-heading 'context)))
     (when-let* ((file (denote-file-prompt ".*\\.org"))
-                (file-text (denote--link-get-description file))
+                (file-text (denote-get-link-description file))
                 (heading (denote-org-extras-outline-prompt file))
                 (line (string-to-number (car (split-string heading "\t"))))
                 (heading-data (denote-org-extras--get-heading-and-id-from-line 
line file))
@@ -548,7 +548,7 @@ argument."
          (format "- %s\n\n"
                  (denote-format-link
                   file
-                  (denote--link-get-description file)
+                  (denote-get-link-description file)
                   'org
                   (eq add-links 'id-only)))))
       (let ((beginning-of-contents (point)))



reply via email to

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