From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: new exporter, conditional options according to backend Date: Sun, 20 Jan 2013 10:28:46 +0100 Message-ID: <87fw1w19v5.fsf@gmail.com> References: <87hame8pdk.fsf@david.espiga4.com.ar> <87sj5w23ia.fsf@gmail.com> <874nic8lit.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:33447) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TwrDA-0007bj-VW for emacs-orgmode@gnu.org; Sun, 20 Jan 2013 04:29:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TwrD9-0005CH-If for emacs-orgmode@gnu.org; Sun, 20 Jan 2013 04:29:08 -0500 Received: from mail-wg0-f43.google.com ([74.125.82.43]:59108) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TwrD9-0005CD-Cr for emacs-orgmode@gnu.org; Sun, 20 Jan 2013 04:29:07 -0500 Received: by mail-wg0-f43.google.com with SMTP id e12so1769995wge.34 for ; Sun, 20 Jan 2013 01:29:06 -0800 (PST) In-Reply-To: <874nic8lit.fsf@gmail.com> (Jambunathan K.'s message of "Sun, 20 Jan 2013 11:05:06 +0530") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Jambunathan K Cc: Ezequiel Birman , emacs-orgmode@gnu.org Jambunathan K writes: > Nicolas Goaziou 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