org-taskjuggler.el: Fix milestone definition
* org-taskjuggler.el (org-taskjuggler-open-task): Task with end-only is also a milestone (deadline), task with length is not.
This commit is contained in:
parent
fc6b40a034
commit
bc78b9941c
|
@ -689,8 +689,10 @@ org-mode priority string."
|
|||
(milestone (or (cdr (assoc "milestone" task))
|
||||
(and (assoc "leaf-node" task)
|
||||
(not (or effort
|
||||
(cdr (assoc "length" task))
|
||||
(cdr (assoc "duration" task))
|
||||
(cdr (assoc "end" task))
|
||||
(and (cdr (assoc "start" task))
|
||||
(cdr (assoc "end" task)))
|
||||
(cdr (assoc "period" task)))))))
|
||||
(attributes org-export-taskjuggler-valid-task-attributes))
|
||||
(insert
|
||||
|
|
Loading…
Reference in New Issue