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

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

[elpa] externals/denote b44ff6946c: Replace obsolete functions in denote


From: ELPA Syncer
Subject: [elpa] externals/denote b44ff6946c: Replace obsolete functions in denote-org-dblock
Date: Thu, 13 Jul 2023 12:57:43 -0400 (EDT)

branch: externals/denote
commit b44ff6946c2fb0a240a4511eb3176c8138c093bf
Author: Vedang Manerikar <ved.manerikar@gmail.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Replace obsolete functions in denote-org-dblock
    
    Use the new versions of these functions instead
---
 denote-org-dblock.el | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/denote-org-dblock.el b/denote-org-dblock.el
index 840dd51380..1848ea2af8 100644
--- a/denote-org-dblock.el
+++ b/denote-org-dblock.el
@@ -27,7 +27,7 @@
 ;; This file provides a specialized Org-mode extension to Denote: it
 ;; introduces Org Dynamic blocks that collect links to Denote notes
 ;; based on a provided regexp.  In short, this automates
-;; 'denote-link-add-links'.
+;; 'denote-add-links'.
 ;;
 ;; For more information, read the commented code below or refer to the
 ;; Denote manual
@@ -44,7 +44,7 @@
 ;; Org-mode has Dynamic blocks the content of which can be computed
 ;; dynamically based on their header. This functionality can be
 ;; leveraged to create automated lists of links to specific notes
-;; (similar to 'denote-link-add-links', but with the added benefit
+;; (similar to 'denote-add-links', but with the added benefit
 ;; that the list can be updated easily).
 ;;
 ;; A dynamic block of the 'denote-links' type looks like this:
@@ -57,7 +57,7 @@
 ;; contents of the block with links to notes matching the search
 ;; ':regexp'. The regular expression can be either a regexp string or
 ;; a sexp form (the latter is translated via rx).
-;; See also the denote manual on 'denote-link-add-links'.
+;; See also the denote manual on 'denote-add-links'.
 ;;
 ;; Inserting a block can be done via the Org-mode entry point
 ;; 'org-dynamic-block-insert-dblock' and selecting 'denote-links' from
@@ -101,7 +101,7 @@
 
 ;; By using the `org-dblock-write:' format, Org-mode knows how to
 ;; compute the dynamic block. Inner workings of this function copied
-;; from `denote-link-add-links'.
+;; from `denote-add-links'.
 (defun org-dblock-write:denote-links (params)
   "Function to update `denote-links' Org Dynamic blocks.
 Used by `org-dblock-update' with PARAMS provided by the dynamic block."
@@ -115,7 +115,7 @@ Used by `org-dblock-update' with PARAMS provided by the 
dynamic block."
       (insert "#+name: " block-name "\n"))
     (if missing-only
         (progn
-          (denote-link-add-missing-links rx)
+          (denote-add-missing-links rx)
           (join-line)) ;; remove trailing empty line left by 
denote-link--prepare-links
       (when-let ((files (delete current-file
                                 (denote-directory-files-matching-regexp rx))))



reply via email to

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