diff options
Diffstat (limited to 'elisp/geiser-racket.el')
-rw-r--r-- | elisp/geiser-racket.el | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/elisp/geiser-racket.el b/elisp/geiser-racket.el index ac7626a..c51b08c 100644 --- a/elisp/geiser-racket.el +++ b/elisp/geiser-racket.el @@ -363,10 +363,7 @@ using start-geiser, a procedure in the geiser/server module." (defvar geiser-racket-minimum-version "5.3") (defun geiser-racket--version (binary) - (shell-command-to-string - (format "%s -e %s" - (shell-quote-argument binary) - (shell-quote-argument "(display (version))")))) + (car (process-lines binary "-e" "(display (version))"))) (defvar geiser-racket--image-cache-dir nil) |