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

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

[elpa] externals/org a1c923afda 2/2: org-scan-tags: Allow arbitrary char


From: ELPA Syncer
Subject: [elpa] externals/org a1c923afda 2/2: org-scan-tags: Allow arbitrary character classes in todo keywords
Date: Sat, 3 Sep 2022 04:57:51 -0400 (EDT)

branch: externals/org
commit a1c923afda22089cbf14c7b7a175cee10bfd297b
Author: Ihor Radchenko <yantar92@gmail.com>
Commit: Ihor Radchenko <yantar92@gmail.com>

    org-scan-tags: Allow arbitrary character classes in todo keywords
    
    * lisp/org.el (org-scan-tags): Do not assume that todo keywords are
    words.
    
    Fixes https://orgmode.org/list/C5370FC1-ABBB-4FA1-8364-5B1DF0FB4755@irq0.org
---
 lisp/org.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/org.el b/lisp/org.el
index 858123e67a..950a2e1440 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -10799,7 +10799,7 @@ headlines matching this string."
                         ;; Get the correct level to match
                         (concat "\\*\\{" (number-to-string start-level) "\\} ")
                       org-outline-regexp)
-                    " *\\(" (regexp-opt org-todo-keywords-1 'words) "\\)?"
+                    " *\\(" (regexp-opt org-todo-keywords-1 'words) " \\)?"
                     " *\\(.*?\\)\\([ \t]:\\(?:" org-tag-re ":\\)+\\)?[ \t]*$"))
         (props (list 'face 'default
                      'done-face 'org-agenda-done



reply via email to

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