ox-taskjuggler: Fix effort property

* contrib/lisp/ox-taskjuggler.el (org-taskjuggler--build-task): Fix
  effort property if `org-effort-property' was changed.
This commit is contained in:
Nicolas Goaziou 2013-10-23 18:22:39 +02:00
parent e5cecc5d34
commit 0113f4f80f
1 changed files with 3 additions and 1 deletions

View File

@ -800,7 +800,9 @@ a unique id will be associated to it."
(if (eq (org-element-property :todo-type task) 'done) "100" (if (eq (org-element-property :todo-type task) 'done) "100"
(org-element-property :COMPLETE task))) (org-element-property :COMPLETE task)))
(depends (org-taskjuggler-resolve-dependencies task info)) (depends (org-taskjuggler-resolve-dependencies task info))
(effort (org-element-property :EFFORT task)) (effort (let ((property
(intern (concat ":" (upcase org-effort-property)))))
(org-element-property property task)))
(milestone (milestone
(or (org-element-property :MILESTONE task) (or (org-element-property :MILESTONE task)
(not (or (org-element-map (org-element-contents task) 'headline (not (or (org-element-map (org-element-contents task) 'headline