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: Jambunathan K
Subject: Re: [O] new exporter, conditional options according to backend
Date: Sun, 20 Jan 2013 11:05:06 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

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.

> (add-to-list 'org-export-filter-parse-tree-functions
>              'my-options-change-fun)

-- 



reply via email to

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