From 12c079ee615c30a76bb08a66349b19d4934e1884 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Wed, 13 Dec 2017 23:51:10 +0100 Subject: Fix some defcustoms types * lisp/ob-stan.el (org-babel-stan-cmdstan-directory): * lisp/org.el (org-latex-default-packages-alist): * lisp/ox-odt.el (org-odt-with-latex): Fix type mismatch. Fixes: 29695 --- ob-stan.el | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/ob-stan.el b/ob-stan.el index 40fd8d9..d2775f6 100644 --- a/ob-stan.el +++ b/ob-stan.el @@ -49,11 +49,12 @@ (defcustom org-babel-stan-cmdstan-directory nil "CmdStan source directory. -'make' will be called from this directory to compile the Stan -block. When nil, executing Stan blocks dumps the content to a -plain text file." +Call \"make\" from this directory to compile the Stan block. +When nil, executing Stan blocks dumps the content to a file." :group 'org-babel - :type 'string) + :type '(choice + (directory :tag "Compilation directory") + (const :tag "Dump to a file" nil))) (defvar org-babel-default-header-args:stan '((:results . "file"))) -- cgit v1.2.3