summaryrefslogtreecommitdiff
path: root/elisp/geiser-racket.el
diff options
context:
space:
mode:
Diffstat (limited to 'elisp/geiser-racket.el')
-rw-r--r--elisp/geiser-racket.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/elisp/geiser-racket.el b/elisp/geiser-racket.el
index ccebcf8..fbd08c7 100644
--- a/elisp/geiser-racket.el
+++ b/elisp/geiser-racket.el
@@ -363,7 +363,8 @@ 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 '(display (version))'" binary)))
+ (shell-command-to-string
+ (format "%s -e %s" binary (shell-quote-argument "(display (version))"))))
(defvar geiser-racket--image-cache-dir nil)