aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Albinus2018-02-03 11:08:33 +0100
committerMichael Albinus2018-02-03 11:08:33 +0100
commite23de39e22ccdf594b0ee84959f6df9d01af25a2 (patch)
treea419b090d2583084fce8807edd5501ad2f8dccb5
parente1a9dc0af6ffb202ce1393b376d14d3c3897a243 (diff)
downloademacs-e23de39e22ccdf594b0ee84959f6df9d01af25a2.tar.gz
emacs-e23de39e22ccdf594b0ee84959f6df9d01af25a2.zip
Fix Bug#30324
* lisp/net/rlogin.el (rlogin, rlogin-directory-tracking-mode): Adapt to changed remote file name syntax. (Bug#30324)
-rw-r--r--lisp/net/rlogin.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/net/rlogin.el b/lisp/net/rlogin.el
index 646adef2f0a..3bfc4d7f356 100644
--- a/lisp/net/rlogin.el
+++ b/lisp/net/rlogin.el
@@ -219,7 +219,7 @@ variable."
219 ;; function, to avoid a gratuitous resync check; the default 219 ;; function, to avoid a gratuitous resync check; the default
220 ;; should be the user's home directory, be it local or remote. 220 ;; should be the user's home directory, be it local or remote.
221 (setq comint-file-name-prefix 221 (setq comint-file-name-prefix
222 (concat "/" rlogin-remote-user "@" rlogin-host ":")) 222 (concat "/-:" rlogin-remote-user "@" rlogin-host ":"))
223 (cd-absolute comint-file-name-prefix)) 223 (cd-absolute comint-file-name-prefix))
224 ((null rlogin-directory-tracking-mode)) 224 ((null rlogin-directory-tracking-mode))
225 (t 225 (t
@@ -253,7 +253,7 @@ local one share the same directories (e.g. through NFS)."
253 (setq rlogin-directory-tracking-mode t) 253 (setq rlogin-directory-tracking-mode t)
254 (setq shell-dirtrackp t) 254 (setq shell-dirtrackp t)
255 (setq comint-file-name-prefix 255 (setq comint-file-name-prefix
256 (concat "/" rlogin-remote-user "@" rlogin-host ":"))) 256 (concat "/-:" rlogin-remote-user "@" rlogin-host ":")))
257 ((< prefix 0) 257 ((< prefix 0)
258 (setq rlogin-directory-tracking-mode nil) 258 (setq rlogin-directory-tracking-mode nil)
259 (setq shell-dirtrackp nil)) 259 (setq shell-dirtrackp nil))