[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Bug: org-publish-get-project-from-filename raises (wrong-type-ar
From: |
Arun Isaac |
Subject: |
Re: [O] Bug: org-publish-get-project-from-filename raises (wrong-type-argument sequencep any) |
Date: |
Fri, 30 Dec 2016 11:11:02 +0530 |
User-agent: |
mu4e 0.9.16; emacs 25.1.1 |
Nicolas Goaziou writes:
> Hello,
>
> Arun Isaac <address@hidden> writes:
>
>> On list elements of `org-publish-project-alist' with :base-extension any
>> `org-publish-get-project-from-filename' fails with error
>> (wrong-type-argument sequencep any). This is due to the `concat' call in
>> `org-publish-get-project-from-filename' where it attempts to construct a
>> regex by concatenating several strings together. When extension `x' is
>> any (a symbol), this step fails.
>
> Fixed. Thank you.
Perhaps, `org-publish-get-project-from-filename' can be rewritten
without `catch' and `throw' using `cl-some' or `seq-some'. This is not a
bug. But, it might help improve readability of the logic.
Thanks,
Arun Isaac.
signature.asc
Description: PGP signature