* lisp/net/tramp.el (tramp-handle-substitute-in-file-name): Drop volume
letter of localname substitution. Reported by Chris Zheng
<chriszheng99@gmail.com>.
(setq filename (substitute-in-file-name localname))
(setq filename
(concat (file-remote-p filename)
- (substitute-in-file-name localname))))))
+ (tramp-drop-volume-letter
+ (substitute-in-file-name localname)))))))
;; "/m:h:~" does not work for completion. We use "/m:h:~/".
(if (and (stringp localname) (string-equal "~" localname))
(concat filename "/")