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

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

[elpa] externals/denote ad4b9a380a 1/3: Add documentation on rx options


From: ELPA Syncer
Subject: [elpa] externals/denote ad4b9a380a 1/3: Add documentation on rx options for insert links dblock
Date: Sun, 22 Jan 2023 23:57:34 -0500 (EST)

branch: externals/denote
commit ad4b9a380ab59b386d56ddfecb48d15f063f5ffb
Author: Elias Storms <elias.storms@gmail.com>
Commit: Elias Storms <elias.storms@gmail.com>

    Add documentation on rx options for insert links dblock
---
 denote-org-dblock.el | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/denote-org-dblock.el b/denote-org-dblock.el
index a55cdd783c..22ec86b11a 100644
--- a/denote-org-dblock.el
+++ b/denote-org-dblock.el
@@ -55,7 +55,9 @@
 ;;
 ;; With point at the #+BEGIN: line, pressing 'C-c C-c' will replace the
 ;; contents of the block with links to notes matching the search
-;; ':regexp'. See also the denote manual on 'denote-link-add-links'.
+;; ':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'.
 ;;
 ;; Inserting a block can be done via the Org-mode entry point
 ;; 'org-dynamic-block-insert-dblock' and selecting 'denote-links' from
@@ -64,7 +66,8 @@
 ;;
 ;; Org Dynamic blocks of the denote-links type can have the follwoing
 ;; arguments (in any order):
-;;  1. :regexp "string" -- the search input (required)
+;;  1. :regexp input    -- the search input (required), either as a
+;;                         regexp string or a sexp (in rx notation)
 ;;  2. :missing-only t  -- to only include missing links
 ;;  3. :reverse t       -- reverse sort order (or don't, when nil)
 ;;  4. :block-name "n"  -- to include a name for later processing



reply via email to

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