[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/denote 88f86081e1 08/12: denote-org: tweak doc of denot
From: |
ELPA Syncer |
Subject: |
[elpa] externals/denote 88f86081e1 08/12: denote-org: tweak doc of denote-org-dblock-insert-denote-links |
Date: |
Thu, 10 Nov 2022 14:57:32 -0500 (EST) |
branch: externals/denote
commit 88f86081e1464894d169326be8d6fe753b95e385
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
denote-org: tweak doc of denote-org-dblock-insert-denote-links
Also updating its name to match the prefix of the file (otherwise the
compiler complains).
Added a TODO as well, though it is not a major issue.
---
denote-org.el | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/denote-org.el b/denote-org.el
index d3ad730085..b0f1d766f4 100644
--- a/denote-org.el
+++ b/denote-org.el
@@ -88,19 +88,22 @@ This command deletes the original subtree."
;;
;; Inserting a block can be done via the Org-mode entry point
;; 'org-dynamic-block-insert-dblock' and selecting 'denote-links' from
-;; the list, or directly by calling 'org-dblock-insert-denote-links'.
+;; the list, or directly by calling 'denote-org-dblock-insert-denote-links'.
;;
;;;###autoload
-(defun org-dblock-insert-denote-links (regexp)
- "Insert new Org dynamic block to insert denote links."
+(defun denote-org-dblock-insert-denote-links (regexp)
+ "Create Org dynamic block to insert Denote links matching REGEXP."
(interactive
+ ;; TODO 2022-11-10: Should we make this a `read-regexp' as is the
+ ;; case with `denote-link-add-missing-links'? Also add the
+ ;; minibuffer history.
(list (read-string "Search for (include _ for keyword): ")))
(org-create-dblock (list :name "denote-links"
:regexp regexp
:missing-only 't))
(org-update-dblock))
-(org-dynamic-block-define "denote-links" 'org-dblock-insert-denote-links)
+(org-dynamic-block-define "denote-links"
'denote-org-dblock-insert-denote-links)
;; By using the `org-dblock-write:' format, Org-mode knows how to
;; compute the dynamic block. Inner workings of this function copied
- [elpa] externals/denote updated (342330d984 -> 53a343709b), ELPA Syncer, 2022/11/10
- [elpa] externals/denote 88f86081e1 08/12: denote-org: tweak doc of denote-org-dblock-insert-denote-links,
ELPA Syncer <=
- [elpa] externals/denote 53a343709b 12/12: denote-org: add task for review, ELPA Syncer, 2022/11/10
- [elpa] externals/denote 1f0633e3be 05/12: denote-org: add denote-org-extract-subtree error handling, ELPA Syncer, 2022/11/10
- [elpa] externals/denote 9fbbdcaee5 02/12: denote-org: add 'require' calls, ELPA Syncer, 2022/11/10
- [elpa] externals/denote bc30770e31 03/12: denote-org: use same version as denote.el, ELPA Syncer, 2022/11/10
- [elpa] externals/denote d7c52c6845 01/12: Add denote-org.el, ELPA Syncer, 2022/11/10
- [elpa] externals/denote f04f43c6f7 04/12: denote-org: add missing Code outline heading, ELPA Syncer, 2022/11/10
- [elpa] externals/denote 0f09c1bc85 10/12: denote-org: tweak symbols for consistency, ELPA Syncer, 2022/11/10
- [elpa] externals/denote a46e581ef4 09/12: denote-org: annotate helper for writing dblock links, ELPA Syncer, 2022/11/10
- [elpa] externals/denote 5540af8ccf 11/12: Remote unnecessary (?) autoload cookie, ELPA Syncer, 2022/11/10
- [elpa] externals/denote c18300469f 06/12: denote-org: reword Commentary, ELPA Syncer, 2022/11/10