; Fix last commit in tramp.el

This commit is contained in:
Michael Albinus 2018-03-22 16:52:58 +01:00
parent 0afb436eeb
commit 2849477af2

View file

@ -3564,8 +3564,8 @@ support symbolic links."
(setq filename (substitute-in-file-name localname))
(setq filename
(concat (file-remote-p filename)
(tramp-drop-volume-letter
(substitute-in-file-name localname)))))))
(tramp-run-real-handler
'substitute-in-file-name (list localname)))))))
;; "/m:h:~" does not work for completion. We use "/m:h:~/".
(if (and (stringp localname) (string-equal "~" localname))
(concat filename "/")