summaryrefslogtreecommitdiff
path: root/elisp/geiser-chibi.el
diff options
context:
space:
mode:
Diffstat (limited to 'elisp/geiser-chibi.el')
-rw-r--r--elisp/geiser-chibi.el7
1 files changed, 3 insertions, 4 deletions
diff --git a/elisp/geiser-chibi.el b/elisp/geiser-chibi.el
index cb2577e..acb8b61 100644
--- a/elisp/geiser-chibi.el
+++ b/elisp/geiser-chibi.el
@@ -97,10 +97,9 @@ This function uses `geiser-chibi-init-file' if it exists."
(defconst geiser-chibi-minimum-version "0.7.3")
(defun geiser-chibi--version (binary)
- (second (split-string (shell-command-to-string
- (format "%s -V"
- (shell-quote-argument binary)))
- " ")))
+ (second (split-string
+ (car (process-lines binary "-V"))
+ " ")))
(defun geiser-chibi--startup (remote)
(let ((geiser-log-verbose-p t))