* ox-taskjuggler.el (org-taskjuggler--build-task):  interpret 'allocate'
as a multivalued property, to pave the way for future completion-enabled
entry of this property.
---
 contrib/lisp/ox-taskjuggler.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/contrib/lisp/ox-taskjuggler.el b/contrib/lisp/ox-taskjuggler.el
index 8036af3..44ffeb6 100644
--- a/contrib/lisp/ox-taskjuggler.el
+++ b/contrib/lisp/ox-taskjuggler.el
@@ -856,7 +856,7 @@ All valid attributes from TASK are inserted.  If TASK 
defines
 a property \"task_id\" it will be used as the id for this task.
 Otherwise it will use the ID property.  If neither is defined
 a unique id will be associated to it."
-  (let* ((allocate (org-element-property :ALLOCATE task))
+  (let* ((allocate (org-taskjuggler-multivalued-property :ALLOCATE task))
          (complete
           (if (eq (org-element-property :todo-type task) 'done) "100"
             (org-element-property :COMPLETE task)))
@@ -892,8 +892,8 @@ a unique id will be associated to it."
           (format "  purge %s\n  allocate %s\n"
                   ;; Compatibility for previous TaskJuggler versions.
                   (if (>= org-taskjuggler-target-version 3.0) "allocate"
-                    "allocations")
-                  allocate))
+                     "allocations")
+                  (mapconcat 'identity allocate ", ")))
      (and complete (format "  complete %s\n" complete))
      (and effort
           (format "  effort %s\n"
-- 
2.5.0

Reply via email to