branch: externals/denote commit ad7a10211653561ad74a36d7b308d584749a0171 Author: Protesilaos Stavrou <i...@protesilaos.com> Commit: Protesilaos Stavrou <i...@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)))