]> git.eshelyaron.com Git - emacs.git/commitdiff
; Fix last commit in tramp.el
authorMichael Albinus <michael.albinus@gmx.de>
Thu, 22 Mar 2018 15:52:58 +0000 (16:52 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Thu, 22 Mar 2018 15:52:58 +0000 (16:52 +0100)
lisp/net/tramp.el

index 7371d38cbac0b024de74a5776d096129461e5520..255c58e48f594a951b867258833767bb1be1df90 100644 (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 "/")