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

    Use appropriate name for internal variable
---
 denote.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/denote.el b/denote.el
index ef5868e126..f95a780e80 100644
--- a/denote.el
+++ b/denote.el
@@ -165,12 +165,12 @@ is suspended: we use whatever the user wants."
 (defconst denote--id-regexp "\\([0-9]\\{8\\}\\)\\(T[0-9]\\{6\\}\\)"
   "Regular expression to match `denote--id'.")
 
-(defconst denote--file-regexp
+(defconst denote--file-title-regexp
   (concat denote--id-regexp "\\(--\\)\\(.*\\)\\(__\\)")
   "Regular expression to match file names from `denote'.")
 
 (defconst denote--keyword-regexp
-  (concat denote--file-regexp "\\([0-9A-Za-z_]*\\)\\(\\.?.*\\)")
+  (concat denote--file-title-regexp "\\([0-9A-Za-z_]*\\)\\(\\.?.*\\)")
   "Regular expression to match `denote-keywords'.")
 
 (defconst denote--punctuation-regexp "[][{}!@#$%^&*()_=+'\"?,.\|;:~`‘’“”]*"

Reply via email to