summaryrefslogtreecommitdiff
path: root/elisp/geiser-guile.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-guile.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-guile.el')
-rw-r--r--elisp/geiser-guile.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/elisp/geiser-guile.el b/elisp/geiser-guile.el
index 697a045..c4f6293 100644
--- a/elisp/geiser-guile.el
+++ b/elisp/geiser-guile.el
@@ -336,7 +336,9 @@ This function uses `geiser-guile-init-file' if it exists."
(defun geiser-guile--version (binary)
(shell-command-to-string
- (format "%s -c %s" binary (shell-quote-argument "(display (version))"))))
+ (format "%s -c %s"
+ (shell-quote-argument binary)
+ (shell-quote-argument "(display (version))"))))
(defun geiser-guile-update-warning-level ()
"Update the warning level used by the REPL.