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: Sun, 20 Jan 2013 10:28:46 +0100

Jambunathan K <address@hidden> writes:

> Nicolas Goaziou <address@hidden> writes:
>
>> #+begin_src emacs-lisp
>> (defun my-options-change-fun (tree backend info)
>>   (when (org-export-derived-backend-p backend 'e-beamer)
>>     (plist-put info :with-author nil))
>>   ;; Don't forget to return tree.
>>   tree)
>
> CAVEAT: plist-put can return a different list, at times.
>
> I don't know enough about implementation of `plist-put' to ascertain
> when it would return a new list.

Since the OP wants to modify the values of _existing properties_ I'm
quite sure the change will happen in place.


Regards,

-- 
Nicolas Goaziou



reply via email to

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