summaryrefslogtreecommitdiff
path: root/elisp/geiser-chicken.el
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2015-12-26 23:47:31 +0100
committerJose Antonio Ortega Ruiz <jao@gnu.org>2015-12-26 23:47:31 +0100
commita0b470fec83758abe2f597142fba969ee8626277 (patch)
tree57388d81c5395efb7e80f4fcd5df2050c0c3507c /elisp/geiser-chicken.el
parentd9f6fa2e7458905aa601805352d7a7d9e1037570 (diff)
downloadgeiser-guile-a0b470fec83758abe2f597142fba969ee8626277.tar.gz
geiser-guile-a0b470fec83758abe2f597142fba969ee8626277.tar.bz2
Quoting binary on version checks (issue #117)
We could probably be even more robust, but i am being a bit lazy instead.
Diffstat (limited to 'elisp/geiser-chicken.el')
-rw-r--r--elisp/geiser-chicken.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/elisp/geiser-chicken.el b/elisp/geiser-chicken.el
index 0d9c8e7..054337a 100644
--- a/elisp/geiser-chicken.el
+++ b/elisp/geiser-chicken.el
@@ -274,7 +274,8 @@ This function uses `geiser-chicken-init-file' if it exists."
(defun geiser-chicken--version (binary)
(shell-command-to-string
- (format "%s -e %s" binary
+ (format "%s -e %s"
+ (shell-quote-binary binary)
(shell-quote-argument "(display (chicken-version))"))))
(defun connect-to-chicken ()