mirror of
https://github.com/SqrtMinusOne/org-clock-agg.git
synced 2025-12-10 14:03:02 +03:00
org-clock-agg: fix error when todo-keyword is iul
This commit is contained in:
parent
2657e396e0
commit
3b5150cdc2
1 changed files with 4 additions and 5 deletions
|
|
@ -1072,12 +1072,11 @@ NODE is one node of a tree, which is described in the function
|
|||
(?d . ,(org-duration-from-minutes
|
||||
(/ (alist-get :duration elem) 60)))
|
||||
(?t . ,(concat
|
||||
(when-let ((todo-keyword (substring-no-properties
|
||||
(org-element-property
|
||||
:todo-keyword
|
||||
(alist-get :headline elem)))))
|
||||
(when-let ((todo-keyword
|
||||
(org-element-property
|
||||
:todo-keyword (alist-get :headline elem))))
|
||||
(propertize
|
||||
(concat todo-keyword " ") 'face
|
||||
(concat (substring-no-properties todo-keyword) " ") 'face
|
||||
(if (eq (org-element-property
|
||||
:todo-type (alist-get :headline elem))
|
||||
'done)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue