emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] new exporter, conditional options according to backend


From: Nicolas Goaziou
Subject: Re: [O] new exporter, conditional options according to backend
Date: Fri, 25 Jan 2013 18:50:27 +0100

Hello,

address@hidden writes:

> 'backend' is in the scope of transcoding functions like
> inline-src-block.
>
> I am currently taking advantage of this, but it is a shortcut rather
> than a necessity. 
>
> Is your advice "Don't do that" ?

I would rather say "Don't do that in public code". There's no guarantee
this hack will always work.

As you probably know, the clean way to retrieve the back-end symbol from
a transcoding function is:

  (plist-get info :back-end)

INFO being the third argument passed to the function.


Regards,

-- 
Nicolas Goaziou



reply via email to

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