[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug: org-capture-get-template can't use a lambda for template functi
From: |
Nicolas Goaziou |
Subject: |
Re: Bug: org-capture-get-template can't use a lambda for template function. [9.2.6 (9.2.6-7-g634880-elpaplus @ /home/n/.emacs.d/elpa/org-plus-contrib-20191118/)] |
Date: |
Thu, 12 Dec 2019 22:36:12 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Hello,
No Wayman <address@hidden> writes:
> Noticed that one cannot use a lambda function as a template generating
> function.
> Doing so results in the error:
>
> Wrong type argument: symbolp, (lambda...)
>
> The cause is the fboundp check in org-capture-get-template.
> Changing this to functionp allows a lambda to be specified and is
> consistent with what org-capture-set-target-location allows.
Fixed. Thank you for the report and the analysis.
Regards,
--
Nicolas Goaziou