diff options
author | Alex Kost <alezost@gmail.com> | 2015-12-12 17:21:31 +0300 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2015-12-14 03:57:53 +0100 |
commit | 09dffe8934346044e4439abdbd58e3d1efaaeff4 (patch) | |
tree | 54eb5eb0821a5691855dcbfe6a193cac4d0c1f41 /elisp/geiser-repl.el | |
parent | cf0e28e642182fb609b2e043d0a30a015167d57e (diff) | |
download | geiser-09dffe8934346044e4439abdbd58e3d1efaaeff4.tar.gz geiser-09dffe8934346044e4439abdbd58e3d1efaaeff4.tar.bz2 |
Fix geiser-connect-local for non-interactive use
Move prompting for a socket file name to the interactive form.
Diffstat (limited to 'elisp/geiser-repl.el')
-rw-r--r-- | elisp/geiser-repl.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/elisp/geiser-repl.el b/elisp/geiser-repl.el index 76991c5..88e1ce3 100644 --- a/elisp/geiser-repl.el +++ b/elisp/geiser-repl.el @@ -760,14 +760,14 @@ buffer." (geiser-repl--read-address host port)) (geiser-repl--maybe-remember-scm-buffer buffer))) -(defun geiser-connect-local (impl &optional socket) +(defun geiser-connect-local (impl socket) "Start a new Geiser REPL connected to a remote Scheme process over a Unix-domain socket." (interactive - (list (geiser-repl--get-impl "Connect to Scheme implementation: "))) + (list (geiser-repl--get-impl "Connect to Scheme implementation: ") + (read-file-name "Socket file name: "))) (let ((buffer (current-buffer))) - (geiser-repl--start-repl impl - (read-file-name "Socket file name: ")) + (geiser-repl--start-repl impl socket) (geiser-repl--maybe-remember-scm-buffer buffer))) (make-variable-buffer-local |