[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Filters not working
From: |
Nicolas Goaziou |
Subject: |
Re: [O] Filters not working |
Date: |
Sat, 10 Aug 2013 09:46:04 +0200 |
Hello,
address@hidden (Thomas S. Dye) writes:
> Charles Berry <address@hidden> writes:
>
>> The changes introduced in commit
>>
>> cea0434c4f7f7f1fc1547e6790b96a76bc217e15
>> ox: Change back-ends internal representation to structures
>>
>> necessitate extracting the name of the back-end from a vector.
>>
>> So, this bit of code
>>
>> (memq backend '(beamer latex))
>>
>> will never return t, because backend is a vector.
>>
>> Probably what you want is
>>
>> (memq (org-export-backend-name backend) '(latex beamer))
>
> Yes, got it now.
Actually, I didn't mean to introduce a type change in filter arguments.
I fixed it: BACKEND is again a symbol. `org-export-derived-backend-p'
still works, and so does `memq'.
Regards,
--
Nicolas Goaziou