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:
Yann Hodique 2012-08-16 21:02:02 +02:00 committed by Bastien Guerry
parent fc6b40a034
commit bc78b9941c
1 changed files with 3 additions and 1 deletions

View File

@ -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