From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [PATCH] ox-latex: Don't quote const in defcustom. Date: Tue, 29 Oct 2013 20:34:04 +0100 Message-ID: <87zjprc1n7.fsf@gmail.com> References: <4155801.pG1hJsBqrn@descartes> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40841) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbF36-0005Vt-W2 for emacs-orgmode@gnu.org; Tue, 29 Oct 2013 15:34:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VbF31-00063U-E1 for emacs-orgmode@gnu.org; Tue, 29 Oct 2013 15:33:56 -0400 Received: from mail-we0-x22e.google.com ([2a00:1450:400c:c03::22e]:44514) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbF30-000631-Lb for emacs-orgmode@gnu.org; Tue, 29 Oct 2013 15:33:51 -0400 Received: by mail-we0-f174.google.com with SMTP id u56so331303wes.33 for ; Tue, 29 Oct 2013 12:33:49 -0700 (PDT) In-Reply-To: <4155801.pG1hJsBqrn@descartes> (=?utf-8?Q?=22R=C3=BCdiger?= Sonderfeld"'s message of "Tue, 29 Oct 2013 17:20:20 +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: =?utf-8?Q?R=C3=BCdiger?= Sonderfeld Cc: emacs-orgmode@gnu.org Hello, R=C3=BCdiger Sonderfeld writes: > Quoting it would set `org-export-latex' not to `minted' but `(quote > minted)' and thus breaking the export. > > * lisp/ox-latex.el (org-latex-listings): Don't quote const value. > > Signed-off-by: R=C3=BCdiger Sonderfeld > --- > lisp/ox-latex.el | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/lisp/ox-latex.el b/lisp/ox-latex.el > index 2af5de6..87c503c 100644 > --- a/lisp/ox-latex.el > +++ b/lisp/ox-latex.el > @@ -655,7 +655,7 @@ (defcustom org-latex-listings nil > :group 'org-export-latex > :type '(choice > (const :tag "Use listings" t) > - (const :tag "Use minted" 'minted) > + (const :tag "Use minted" minted) > (const :tag "Export verbatim" nil))) Good catch. Thank you. Have you signed FSF papers? If you haven't, you need to add TINYCHANGE at the end of the commit message so I can apply the patch. Regards, --=20 Nicolas Goaziou