diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2015-10-21 02:29:46 +0200 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2015-10-21 02:29:46 +0200 |
commit | 3319d2785711aa7e717f5d68a09523307bf126f1 (patch) | |
tree | ff0d414d984250bb65d4c795478683ff4f4b3cac /elisp/geiser-racket.el | |
parent | c6f17b25200e36f80d812684a2127b451fc11817 (diff) | |
download | geiser-guile-3319d2785711aa7e717f5d68a09523307bf126f1.tar.gz geiser-guile-3319d2785711aa7e717f5d68a09523307bf126f1.tar.bz2 |
Use OS-specific quotes when asking for versions
Fixes #95. This is @kovrik's patch, with 80-columns max formatting.
Diffstat (limited to 'elisp/geiser-racket.el')
-rw-r--r-- | elisp/geiser-racket.el | 3 |
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) |