emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Rüdiger Sonderfeld" <ruediger@c-plusplus.de>
To: emacs-orgmode@gnu.org
Subject: [PATCH] ox-latex: Don't quote const in defcustom.
Date: Tue, 29 Oct 2013 17:20:20 +0100	[thread overview]
Message-ID: <4155801.pG1hJsBqrn@descartes> (raw)

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üdiger Sonderfeld <ruediger@c-plusplus.de>
---
 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)))
 
 (defcustom org-latex-listings-langs
-- 
1.8.4.1

             reply	other threads:[~2013-10-29 16:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-29 16:20 Rüdiger Sonderfeld [this message]
2013-10-29 19:34 ` [PATCH] ox-latex: Don't quote const in defcustom Nicolas Goaziou
2013-10-29 19:35   ` Rüdiger Sonderfeld
2013-10-29 19:50     ` Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4155801.pG1hJsBqrn@descartes \
    --to=ruediger@c-plusplus.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).