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

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

[elpa] externals/denote ab626b36b9 3/6: denote-org-dblock: use read-rege


From: ELPA Syncer
Subject: [elpa] externals/denote ab626b36b9 3/6: denote-org-dblock: use read-regexp
Date: Sat, 12 Nov 2022 23:59:41 -0500 (EST)

branch: externals/denote
commit ab626b36b981ff60bcedc78ffa77e1d05456e6ed
Author: Elias Storms <elias.storms@gmail.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    denote-org-dblock: use read-regexp
    
    Replace read-string with read-regexp and use the same history as
    'denote-link--add-links-history'.
---
 denote-org-dblock.el | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/denote-org-dblock.el b/denote-org-dblock.el
index 081be15758..0028c54d41 100644
--- a/denote-org-dblock.el
+++ b/denote-org-dblock.el
@@ -81,10 +81,8 @@
 (defun denote-org-dblock-insert-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): ")))
+    (list
+     (read-regexp "Search for notes matching REGEX: " nil 
'denote-link--add-links-history)))
   (org-create-dblock (list :name "denote-links"
                            :regexp regexp
                            :missing-only 't))



reply via email to

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