From 61d8ebd47273c48fd0df7fc7416d66b557d212d8 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Fri, 24 May 2013 14:39:06 +0200 Subject: [PATCH] ox-taskjuggler: Small fix * contrib/lisp/ox-taskjuggler.el (org-taskjuggler-assign-task-ids): Small fix. --- contrib/lisp/ox-taskjuggler.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/contrib/lisp/ox-taskjuggler.el b/contrib/lisp/ox-taskjuggler.el index eb50607c9..22f64afba 100644 --- a/contrib/lisp/ox-taskjuggler.el +++ b/contrib/lisp/ox-taskjuggler.el @@ -145,9 +145,7 @@ ;; ;;; Code: -(eval-when-compile - (require 'cl) - (defvar build-id)) +(eval-when-compile (require 'cl)) (require 'ox) @@ -400,6 +398,7 @@ communication channel. Return value is an alist between headlines and their associated ID. IDs are hierarchical, which means they only need to be unique among the task siblings." (let* (alist + build-id ; For byte-compiler. (build-id (lambda (tasks local-ids) (org-element-map tasks 'headline