mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-25 16:32:51 +00:00
org.el (org-scan-tags): Correctly match TODO keywords.
* org.el (org-scan-tags): Correctly match TODO keywords. Thanks to Simon Thum for reporting this.
This commit is contained in:
parent
0ebeb77a1a
commit
c50f0c78d8
|
@ -12829,7 +12829,9 @@ headlines matching this string."
|
||||||
" *\\(\\<\\("
|
" *\\(\\<\\("
|
||||||
(mapconcat 'regexp-quote org-todo-keywords-1 "\\|")
|
(mapconcat 'regexp-quote org-todo-keywords-1 "\\|")
|
||||||
(org-re
|
(org-re
|
||||||
"\\>\\)\\)? *\\(.*?\\)\\(:[[:alnum:]_@#%:]+:\\)?[ \t]*$")))
|
(if todo-only
|
||||||
|
"\\>\\)\\)[ \t]+\\(.*?\\)\\(:[[:alnum:]_@#%:]+:\\)?[ \t]*$"
|
||||||
|
"\\>\\)\\)? *\\([^ ].*?\\)\\(:[[:alnum:]_@#%:]+:\\)?[ \t]*$"))))
|
||||||
(props (list 'face 'default
|
(props (list 'face 'default
|
||||||
'done-face 'org-agenda-done
|
'done-face 'org-agenda-done
|
||||||
'undone-face 'default
|
'undone-face 'default
|
||||||
|
|
Loading…
Reference in a new issue