Consider SEQ_TODO for TODO keywords.
This commit is contained in:
parent
f79d52a16d
commit
fc166e41a1
@ -1514,7 +1514,7 @@ class OrgDoc:
|
|||||||
self.done_keywords = DEFAULT_DONE_KEYWORDS
|
self.done_keywords = DEFAULT_DONE_KEYWORDS
|
||||||
|
|
||||||
for keyword in keywords:
|
for keyword in keywords:
|
||||||
if keyword.key == "TODO":
|
if keyword.key in ("TODO", "SEQ_TODO"):
|
||||||
todo_kws, done_kws = re.sub(r"\(.\)", "", keyword.value).split("|", 1)
|
todo_kws, done_kws = re.sub(r"\(.\)", "", keyword.value).split("|", 1)
|
||||||
|
|
||||||
self.todo_keywords = re.sub(r"\s{2,}", " ", todo_kws.strip()).split()
|
self.todo_keywords = re.sub(r"\s{2,}", " ", todo_kws.strip()).split()
|
||||||
|
Loading…
Reference in New Issue
Block a user