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

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

[elpa] externals/denote f3daeb2eda 6/6: Add comments to a sample code sn


From: ELPA Syncer
Subject: [elpa] externals/denote f3daeb2eda 6/6: Add comments to a sample code snippet to make it more obvious
Date: Thu, 22 Feb 2024 09:57:45 -0500 (EST)

branch: externals/denote
commit f3daeb2eda9e0e4879dd0bfc34dc65adc6b3db15
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Add comments to a sample code snippet to make it more obvious
---
 README.org | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/README.org b/README.org
index 44cadf3904..12c406b082 100644
--- a/README.org
+++ b/README.org
@@ -3723,12 +3723,14 @@ that both the ~my-denote-org-link-regexp~ variable and 
th
 with =M-x= or can be bound to a key.
 
 #+begin_src emacs-lisp
+;; Evaluate this and the one below.
 (defvar my-denote-org-link-regexp
   (concat "\\[\\[\\(?1:.*?:\\)\\(?2:.*?\\)\\]"
           "\\[\\(?3:.*?\\)" "\\]\\]")
   "Regular expression to match Org links.
 Group 1 is the link type, 2 is the target, 3 is the description.")
 
+;; Then use M-x to call `my-denote-org-link-convert'.
 (defun my-denote-org-link-convert ()
   "Convert all 'denote:' links to their 'file:' equivalent in the current Org 
buffer."
   (interactive)



reply via email to

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