emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] [PATCH] ox-latex: Don't quote const in defcustom.


From: Rüdiger Sonderfeld
Subject: [O] [PATCH] ox-latex: Don't quote const in defcustom.
Date: Tue, 29 Oct 2013 17:20:20 +0100
User-agent: KMail/4.11.2 (Linux/3.11.0-12-generic; KDE/4.11.2; x86_64; ; )

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 <address@hidden>
---
 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 via email to

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