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

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

[elpa] externals/org-modern 1605ffc284: Use org-tag-re


From: ELPA Syncer
Subject: [elpa] externals/org-modern 1605ffc284: Use org-tag-re
Date: Fri, 25 Mar 2022 10:57:38 -0400 (EDT)

branch: externals/org-modern
commit 1605ffc284421e46598766ded6aad1309987c6ff
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    Use org-tag-re
---
 org-modern.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/org-modern.el b/org-modern.el
index d6ca406968..ed4a36dc40 100644
--- a/org-modern.el
+++ b/org-modern.el
@@ -510,7 +510,8 @@ You can specify a font `:family'. The font families 
`Iosevka', `Hack' and
            (1 '(face nil display (space :width (3))))
            (2 'org-modern-block-keyword append))))
       (when org-modern-tag
-        '(("^\\*+.*?\\( \\)\\(:\\(?:[^ :]+:\\)+\\)[ \t]*$" (0 
(org-modern--tag)))))
+        `((,(concat "^\\*+.*?\\( \\)\\(:\\(?:" org-tag-re ":\\)+\\)[ \t]*$")
+           (0 (org-modern--tag)))))
       (when (and org-modern-timestamp (not org-display-custom-times))
         '(("\\(?:<\\|\\[\\)\\([0-9]\\{4\\}-[0-9]\\{2\\}-[0-9]\\{2\\}\\(?: 
[[:word:]]+\\)?\\(?: [.+-]+[0-9ymwdh/]+\\)*\\)\\(\\(?: [0-9:-]+\\)?\\(?: 
[.+-]+[0-9ymwdh/]+\\)*\\)\\(?:>\\|\\]\\)"
            (0 (org-modern--timestamp)))



reply via email to

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