Hello,

"Valery V. Vorotyntsev" <valery...@gmail.com> writes:

> On 27 February 2015 at 23:20, Valery V. Vorotyntsev <valery...@gmail.com> 
> wrote:
>
>> I have set `org-clock-into-drawer' to 2.
>> `(org-clock-into-drawer)' should return the same value (see the
>> documentation of this function), yet it returns "LOGBOOK".
>
> Proposed patch:
>
> ----------[ begin ]----------
> diff --git a/lisp/org-clock.el b/lisp/org-clock.el
> index 07f02b0..0edc1b9 100644
> --- a/lisp/org-clock.el
> +++ b/lisp/org-clock.el
> @@ -88,6 +88,7 @@ Return value is either a string, an integer, or nil."
>     (if (org-string-match-p "\\`[0-9]+\\'" p) (string-to-number p) p))
>    ((org-string-nw-p org-clock-into-drawer))
>    ((not org-clock-into-drawer) nil)
> +  ((wholenump org-clock-into-drawer) org-clock-into-drawer)
>    ((org-log-into-drawer))
>    (t "LOGBOOK"))))
> ----------[ end ]----------

This was fixed recently. You need to update Org. Thank you for the patch
anyway.


Regards,

-- 
Nicolas Goaziou

Reply via email to