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

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

[elpa] externals/denote d57ff29c3b 045/355: Add denote--file-regexp


From: ELPA Syncer
Subject: [elpa] externals/denote d57ff29c3b 045/355: Add denote--file-regexp
Date: Sun, 26 Jun 2022 23:57:59 -0400 (EDT)

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

    Add denote--file-regexp
---
 denote.el | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/denote.el b/denote.el
index 2361fb6275..44c1e0a4e4 100644
--- a/denote.el
+++ b/denote.el
@@ -93,6 +93,10 @@ If nil, show the keywords in their given order."
 (defconst denote--keyword-regexp "\\(--\\)\\([0-9A-Za-z_+]*\\)\\(--\\)"
   "Regular expression to match `denote-keywords'.")
 
+(defconst denote--file-regexp
+  (concat denote--id-regexp denote--keyword-regexp "\\(.*\\)\\.org")
+  "Regular expression to match file names from `denote-new-note'.")
+
 (defconst denote--punctuation-regexp "[][{}!@#$%^&*()_=+'\"?,.\|;:~`‘’“”]*"
   "Regular expression of punctionation that should be removed.")
 



reply via email to

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