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