Fix minor problem in tramp-handle-substitute-in-file-name
* lisp/net/tramp.el (tramp-handle-substitute-in-file-name): Suppress cygwin-mount file name handlers.
This commit is contained in:
parent
fd369be7eb
commit
9284e22676
1 changed files with 5 additions and 1 deletions
|
@ -3585,7 +3585,11 @@ support symbolic links."
|
|||
(setq filename
|
||||
(concat (file-remote-p filename)
|
||||
(replace-regexp-in-string
|
||||
"\\`/+" "/" (substitute-in-file-name localname)))))))
|
||||
"\\`/+" "/"
|
||||
;; We must disable cygwin-mount file name
|
||||
;; handlers and alike.
|
||||
(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 "/")
|
||||
|
|
Loading…
Add table
Reference in a new issue