Kaynağa Gözat

ox-taskjuggler: Small fix

* contrib/lisp/ox-taskjuggler.el (org-taskjuggler-assign-task-ids):
  Small fix.
Nicolas Goaziou 12 yıl önce
ebeveyn
işleme
61d8ebd472
1 değiştirilmiş dosya ile 2 ekleme ve 3 silme
  1. 2 3
      contrib/lisp/ox-taskjuggler.el

+ 2 - 3
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