summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--elisp/geiser-chez.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/elisp/geiser-chez.el b/elisp/geiser-chez.el
index 1793cfd..17b6c8d 100644
--- a/elisp/geiser-chez.el
+++ b/elisp/geiser-chez.el
@@ -96,9 +96,7 @@ This function uses `geiser-chez-init-file' if it exists."
(defconst geiser-chez-minimum-version "9.4")
(defun geiser-chez--version (binary)
- (shell-command-to-string
- (format "%s --version"
- (shell-quote-argument binary))))
+ (car (process-lines binary "--version")))
(defun geiser-chez--startup (remote)
(let ((geiser-log-verbose-p t))