branch: externals/org-modern commit 1605ffc284421e46598766ded6aad1309987c6ff Author: Daniel Mendler <m...@daniel-mendler.de> Commit: Daniel Mendler <m...@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)))