diff options
author | Takashi AOKI <federkasten@me.com> | 2015-01-19 13:12:56 +0900 |
---|---|---|
committer | Takashi AOKI <federkasten@me.com> | 2015-01-19 15:54:12 +0900 |
commit | 0f0f08209322f3f5d03df824278957816a69c7b7 (patch) | |
tree | f311c309917d792a92eb14e2340e7512ec6c7b58 | |
parent | c42925f9fe3d3b25c9a28dd1a46c74b1b5f749ce (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.md | 1 | ||||
-rw-r--r-- | cider.el | 2 |
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 @@ -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 |