diff options
author | Juergen Hoetzel <juergen@archlinux.org> | 2018-05-26 18:31:00 +0200 |
---|---|---|
committer | Bozhidar Batsov <bozhidar.batsov@gmail.com> | 2018-05-27 16:45:35 +0300 |
commit | c40a020e8a59821f6fcae7557a340b272f5babee (patch) | |
tree | 22754a87e938ce7b277062141d23c5c2e03e0a4e | |
parent | 209fb0a9cc994d861ee632516b9fb20bbcfd1833 (diff) |
Don't use (deprecated) internal tramp var
Fixes #2216.
-rw-r--r-- | cider.el | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -1006,10 +1006,8 @@ the appropriate REPL type in the end." (defun cider-current-host () "Retrieve the current host." - (if (and (stringp buffer-file-name) - (file-remote-p buffer-file-name) - (boundp 'tramp-current-host)) - tramp-current-host + (if (stringp buffer-file-name) + (file-remote-p buffer-file-name 'host) "localhost")) (defun cider-select-endpoint () |