[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 3750612093: Fix problem with "~" in Tramp
From: |
Michael Albinus |
Subject: |
master 3750612093: Fix problem with "~" in Tramp |
Date: |
Thu, 17 Feb 2022 04:41:04 -0500 (EST) |
branch: master
commit 3750612093e5383afa55ea261f47737868660942
Author: Michael Albinus <michael.albinus@gmx.de>
Commit: Michael Albinus <michael.albinus@gmx.de>
Fix problem with "~" in Tramp
* lisp/net/tramp.el (tramp-handle-substitute-in-file-name):
Remove special handling of "~" in localname. (Bug#53053)
---
lisp/net/tramp.el | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el
index 91c0efb482..0ffaeb0ce9 100644
--- a/lisp/net/tramp.el
+++ b/lisp/net/tramp.el
@@ -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)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 3750612093: Fix problem with "~" in Tramp,
Michael Albinus <=