summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--elisp/geiser-guile.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/elisp/geiser-guile.el b/elisp/geiser-guile.el
index e70ca30..697a045 100644
--- a/elisp/geiser-guile.el
+++ b/elisp/geiser-guile.el
@@ -335,7 +335,8 @@ This function uses `geiser-guile-init-file' if it exists."
(defconst geiser-guile-minimum-version "2.0")
(defun geiser-guile--version (binary)
- (shell-command-to-string (format "%s -c '(display (version))'" binary)))
+ (shell-command-to-string
+ (format "%s -c %s" binary (shell-quote-argument "(display (version))"))))
(defun geiser-guile-update-warning-level ()
"Update the warning level used by the REPL.