From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [PATCH] make options available for custom source environment in ox-latex Date: Thu, 14 Jan 2016 11:47:10 +0100 Message-ID: <87h9igphe9.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33083) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aJfP5-00038f-FL for emacs-orgmode@gnu.org; Thu, 14 Jan 2016 05:45:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aJfP1-0005fp-Ek for emacs-orgmode@gnu.org; Thu, 14 Jan 2016 05:45:19 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:35831) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aJfP1-0005ew-99 for emacs-orgmode@gnu.org; Thu, 14 Jan 2016 05:45:15 -0500 In-Reply-To: (Alan Schmitt's message of "Thu, 14 Jan 2016 11:31:07 +0100") 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: Alan Schmitt Cc: emacs-orgmode Hello, Alan Schmitt writes: > Here is a small addition to the custom source environments for > ox-latex. Thank you. Some comments follow. > + (?o . > + ,(let ((local-options (plist-get attributes :options))) > + (if local-options local-options "")))))))) Shorter: (?o . ,(or (plist-get attributes :options) "")) I think this should also be documented in `org-latex-custom-lang-environments' docstring. Could you send an updated patch? Regards, -- Nicolas Goaziou