On 2010-06-08 14:30 +0100, Christian Egli wrote:
>> In org-taskjuggler-close-maybe:
>> org-taskjuggler.el:633:13:Warning: reference to free variable `old-
>> level'
>> org-taskjuggler.el:635:25:Warning: assignment to free variable `old-
>> level'
>
> I just pushed a patch to the taskjuggler-export branch that should fix
> this.

I suppose old-level is a let-bound dynamic variable. I have found code
giving a seemingly global variable name to such variables confusing at
times. Would be better just make it global or insert a form at the
beginning of the body of those functions like this:

(declare (special dynvar1 dynvar2 ...))

I usually use the latter approach.

Cheers.

Leo

-- 
CCL-USER> (if you fail to plan (plan to fail))


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to