Fix problem with "~" in Tramp
* lisp/net/tramp.el (tramp-handle-substitute-in-file-name): Remove special handling of "~" in localname. (Bug#53053)
This commit is contained in:
parent
6094f3a16b
commit
3750612093
1 changed files with 1 additions and 4 deletions
|
@ -4571,10 +4571,7 @@ BUFFER might be a list, in this case STDERR is separated."
|
|||
;; 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 "/")
|
||||
#'substitute-in-file-name (list localname)))))))
|
||||
filename))))
|
||||
|
||||
(defconst tramp-time-dont-know '(0 0 0 1000)
|
||||
|
|
Loading…
Add table
Reference in a new issue