branch: externals/org-modern commit b9fce9786f8433d20212c72ec57757593a5ac81c Author: Daniel Mendler <m...@daniel-mendler.de> Commit: Daniel Mendler <m...@daniel-mendler.de>
Fix #225 --- org-modern.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/org-modern.el b/org-modern.el index e1174a8d2e..261fd6c73b 100644 --- a/org-modern.el +++ b/org-modern.el @@ -902,8 +902,7 @@ whole buffer; otherwise, for the line at point." (when org-modern-todo (goto-char (point-min)) (while (< (point) (point-max)) - (when-let (((get-text-property (point) 'todo-state)) - (org-not-done-regexp (get-text-property (point) 'org-not-done-regexp)) + (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-search-forward re (pos-eol) 'noerror)))