summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi AOKI <federkasten@me.com>2015-01-19 13:12:56 +0900
committerTakashi AOKI <federkasten@me.com>2015-01-19 15:54:12 +0900
commit0f0f08209322f3f5d03df824278957816a69c7b7 (patch)
treef311c309917d792a92eb14e2340e7512ec6c7b58
parentc42925f9fe3d3b25c9a28dd1a46c74b1b5f749ce (diff)
Use sshx instead of ssh in cider-select-endpoint
Modified cider-select-endpoint function to use sshx instead of ssh. This change is useful for users using well-configured login shell and ssh-config.
-rw-r--r--CHANGELOG.md1
-rw-r--r--cider.el2
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4220414c..01829663 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -14,6 +14,7 @@
* [#934](https://github.com/clojure-emacs/cider/issues/934): Remove
`cider-turn-on-eldoc-mode` in favor of simply using `eldoc-mode`.
+* [#953](https://github.com/clojure-emacs/cider/pull/953) Use `sshx` instead of `ssh` in `cider-select-endpoint`
### Bugs fixed
diff --git a/cider.el b/cider.el
index 2261c7af..9a2d2310 100644
--- a/cider.el
+++ b/cider.el
@@ -207,7 +207,7 @@ Create REPL buffer and start an nREPL client connection."
(let* ((change-dir-p (file-remote-p default-directory))
(default-directory (if change-dir-p "~/" default-directory)))
(cider-locate-running-nrepl-ports (unless change-dir-p default-directory)))
- (let ((vec (vector "ssh" nil host "" nil))
+ (let ((vec (vector "sshx" nil host "" nil))
;; might connect to a different remote
(dir (when (file-remote-p default-directory)
(with-parsed-tramp-file-name default-directory cur