From 755a7ccbcbf8d6aa63c3dae23296b1c2a7b5a45a Mon Sep 17 00:00:00 2001 From: julian herrera Date: Sun, 19 Apr 2020 15:26:29 -0500 Subject: add extra parameter support to chez implementation --- elisp/geiser-chez.el | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'elisp') diff --git a/elisp/geiser-chez.el b/elisp/geiser-chez.el index 1b5b84b..6749290 100644 --- a/elisp/geiser-chez.el +++ b/elisp/geiser-chez.el @@ -40,6 +40,11 @@ :type 'string :group 'geiser-chez) +(geiser-custom--defcustom geiser-chez-extra-command-line-parameters '("") + "Additional parameters to supply to the Chez binary." + :type '(repeat string) + :group 'geiser-chez) + ;;; REPL support: @@ -54,7 +59,8 @@ This function uses `geiser-chez-init-file' if it exists." (let ((init-file (and (stringp geiser-chez-init-file) (expand-file-name geiser-chez-init-file)))) `(,@(and init-file (file-readable-p init-file) (list init-file)) - ,(expand-file-name "chez/geiser/geiser.ss" geiser-scheme-dir)))) + ,(expand-file-name "chez/geiser/geiser.ss" geiser-scheme-dir) + ,@geiser-chez-extra-command-line-parameters))) (defconst geiser-chez--prompt-regexp "> ") -- cgit v1.2.3