Browse Source

Fix allocations handling for tj3

* org-taskjuggler.el (org-taskjuggler-open-task): Only emit a "purge
allocations" statement if we are not targeting tj3.
Christian Egli 14 năm trước cách đây
mục cha
commit
e5340a3650
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      lisp/org-taskjuggler.el

+ 2 - 2
lisp/org-taskjuggler.el

@@ -660,8 +660,8 @@ org-mode priority string."
 	  (format " depends %s\n" previous-sibling)
 	(and depends (format " depends %s\n" depends)))
       (and allocate (format " purge %s\n allocate %s\n"
-			    (or (and (org-taskjuggler-targeting-tj3-p) "allocations")
-				"allocate")
+			    (or (and (org-taskjuggler-targeting-tj3-p) "allocate")
+				"allocations")
 			    allocate))
       (and complete (format " complete %s\n" complete))
       (and effort (format " effort %s\n" effort))