Hello,

Jambunathan K <kjambunat...@gmail.com> writes:

> Nicolas Goaziou <n.goaz...@gmail.com> writes:
>
>> Jambunathan K <kjambunat...@gmail.com> writes:
>>
>>> Nicolas Goaziou <n.goaz...@gmail.com> 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.
>
> Look at example in Elisp manual.  New members seem to get appended.  
>
> List being destructive is explainable if new members were to be added to
> the head.  Since this is not the case, I am curious what the
> implementation could be ...

I have added a filter for export options. The OP may want to use it
instead.

I guess it will be cleaner that way. Besides, the previous export
framework had one too.


Regards,

-- 
Nicolas Goaziou

Reply via email to