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

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

[elpa] externals/denote f1e08702e5 11/14: Make fontification more robust


From: ELPA Syncer
Subject: [elpa] externals/denote f1e08702e5 11/14: Make fontification more robust (revise f13fdd4)
Date: Sat, 9 Jul 2022 02:57:36 -0400 (EDT)

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

    Make fontification more robust (revise f13fdd4)
---
 denote-faces.el | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/denote-faces.el b/denote-faces.el
index ddffc28f29..265d5c82c2 100644
--- a/denote-faces.el
+++ b/denote-faces.el
@@ -83,10 +83,10 @@ and seconds."
   :group 'denote-faces)
 
 (defvar denote-faces--file-name-regexp
-  (concat "\\([0-9]\\{8\\}\\)\\(T[0-9]\\{6\\}\\)"
-          "\\(--\\)?\\([0-9A-Za-z-]*\\)?"
-          "\\(__\\)?\\([0-9A-Za-z_-]*\\)?"
-          "\\(\\..*\\)?")
+  (concat "\\(?1:[0-9]\\{8\\}\\)\\(?2:T[0-9]\\{6\\}\\)"
+          "\\(?:\\(?3:--\\)\\(?4:[0-9A-Za-z-]*\\)\\)?"
+          "\\(?:\\(?5:__\\)\\(?6:[0-9A-Za-z_-]*\\)\\)?"
+          "\\(?7:\\..*\\)?")
   "Regexp of file names for fontification.")
 
 (defconst denote-faces-file-name-keywords



reply via email to

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