aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2017-12-13 23:51:10 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2017-12-13 23:51:10 +0100
commit12c079ee615c30a76bb08a66349b19d4934e1884 (patch)
tree4a8ab9b5bf9f1e05633f5e33ed3e48edbedfce4e
parentaf5a881c8f90cb38c2da1df9545ceec76dcb8d5a (diff)
downloadob-stan-12c079ee615c30a76bb08a66349b19d4934e1884.tar.gz
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
-rw-r--r--ob-stan.el9
1 files 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")))