emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [PATCH] Fix clocktable scope parameter


From: Nicolas Goaziou
Subject: Re: [O] [PATCH] Fix clocktable scope parameter
Date: Thu, 15 Dec 2016 16:10:31 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Hello,

Eduardo Bellani <address@hidden> writes:

> org-clock.el: Fix clocktable scope parameter
>
> * lisp/org-clock.el (org-dblock-write:clocktable): Make sure to eval
>   the scope if it is a lisp expression, or to return the scope if it
>   is just a list.
>
> This adds back to the clocktable the capacity to have as scope both a
> list of file paths or a function that returns such a list.

Thank you.

However, I'd rather not introduce more `eval' in the code base.

Instead, you can test if scope is a function and `funcall' it.  This is
a new feature, which would require some documentation and an entry in
ORG-NEWS.

Regards,

-- 
Nicolas Goaziou



reply via email to

[Prev in Thread] Current Thread [Next in Thread]