branch: externals/org-modern
commit b5f8475af31ea97af70bb93bb9895059b803bf10
Author: Daniel Mendler <[email protected]>
Commit: Daniel Mendler <[email protected]>
Fix #301
---
org-modern.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/org-modern.el b/org-modern.el
index 242ebcab62..428be1d466 100644
--- a/org-modern.el
+++ b/org-modern.el
@@ -920,7 +920,7 @@ whole buffer; otherwise, for the line at point."
(while (< (point) (point-max))
(when-let ((org-not-done-regexp (get-text-property (point)
'org-not-done-regexp))
(re (get-text-property (point) 'org-todo-regexp))
- (re (concat " " re " "))
+ (re (concat "[: ]" re " "))
((re-search-forward re (pos-eol) 'noerror)))
(org-modern--todo))
(goto-char (min (1+ (pos-eol)) (point-max)))))