summaryrefslogtreecommitdiff
path: root/elisp
diff options
context:
space:
mode:
Diffstat (limited to 'elisp')
-rw-r--r--elisp/geiser-chibi.el10
1 files changed, 9 insertions, 1 deletions
diff --git a/elisp/geiser-chibi.el b/elisp/geiser-chibi.el
index cee6c75..563067f 100644
--- a/elisp/geiser-chibi.el
+++ b/elisp/geiser-chibi.el
@@ -32,6 +32,13 @@
:type '(choice string (repeat string))
:group 'geiser-chibi)
+(geiser-custom--defcustom geiser-chibi-extra-command-line-parameters
+ '("-R" "-m" "chibi ast")
+ "Additional parameters to supply to the Chibi binary."
+ :type '(repeat string)
+ :group 'geiser-chibi)
+
+
;;; REPL support:
@@ -43,7 +50,8 @@
(defun geiser-chibi--parameters ()
"Return a list with all parameters needed to start Chibi Scheme.
This function uses `geiser-chibi-init-file' if it exists."
- `("-I" ,(expand-file-name "chibi/geiser/" geiser-scheme-dir)
+ `(,@geiser-chibi-extra-command-line-parameters
+ "-I" ,(expand-file-name "chibi/geiser/" geiser-scheme-dir)
"-m" "geiser"
,@(and (listp geiser-chibi-binary) (cdr geiser-chibi-binary)))
)