[O] [PATCH] Fix org-duration-to-minutes call on ox-taskjuggler

2017-09-05 Thread Eduardo Bellani
contrib/lisp/ox-taskjuggler.el (org-taskjuggler--build-task): Change call
From the removed 'org-duration-minutes' function to 'org-duration-to-minutes'.

TINYCHANGE
---
 contrib/lisp/ox-taskjuggler.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/lisp/ox-taskjuggler.el b/contrib/lisp/ox-taskjuggler.el
index 2144b04..aee7ae9 100644
--- a/contrib/lisp/ox-taskjuggler.el
+++ b/contrib/lisp/ox-taskjuggler.el
@@ -861,7 +861,7 @@ a unique id will be associated to it."
  (and complete (format "  complete %s\n" complete))
  (and effort
   (format "  effort %s\n"
-  (let* ((minutes (org-duration-minutes effort))
+  (let* ((minutes (org-duration-to-minutes effort))
  (hours (/ minutes 60.0)))
 (format "%.1fh" hours
  (and priority (format "  priority %s\n" priority))
--
2.1.4


signature.asc
Description: PGP signature


Re: [O] [PATCH] Fix org-duration-to-minutes call on ox-taskjuggler

2017-09-05 Thread Nicolas Goaziou
Hello,

Eduardo Bellani  writes:

> contrib/lisp/ox-taskjuggler.el (org-taskjuggler--build-task): Change call
> From the removed 'org-duration-minutes' function to
> 'org-duration-to-minutes'.

Applied. Thank you.

Regards,

-- 
Nicolas Goaziou