Skip to content

Commit a1c923a

Browse files
committed
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
1 parent ea66579 commit a1c923a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lisp/org.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10799,7 +10799,7 @@ headlines matching this string."
1079910799
;; Get the correct level to match
1080010800
(concat "\\*\\{" (number-to-string start-level) "\\} ")
1080110801
org-outline-regexp)
10802-
" *\\(" (regexp-opt org-todo-keywords-1 'words) "\\)?"
10802+
" *\\(" (regexp-opt org-todo-keywords-1 'words) " \\)?"
1080310803
" *\\(.*?\\)\\([ \t]:\\(?:" org-tag-re ":\\)+\\)?[ \t]*$"))
1080410804
(props (list 'face 'default
1080510805
'done-face 'org-agenda-done

0 commit comments

Comments
 (0)