diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2015-12-26 23:47:31 +0100 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2015-12-26 23:47:31 +0100 |
commit | f5fee3bddd264d84b2c40614053cef83ca072352 (patch) | |
tree | 7a7fb9da6b8558eb4b08f73a25b2aef0192333c7 /elisp | |
parent | 08d452400aef746552de69e0fa12dd7e6fe014f0 (diff) | |
download | geiser-guile-f5fee3bddd264d84b2c40614053cef83ca072352.tar.gz geiser-guile-f5fee3bddd264d84b2c40614053cef83ca072352.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')
-rw-r--r-- | elisp/geiser-guile.el | 4 |
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. |