From: Michael Albinus Date: Sat, 22 Mar 2025 16:49:53 +0000 (+0100) Subject: ; Another Tramp fix X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=90d8ab215b7d36f281c593a34d331d2c92060cf0;p=emacs.git ; Another Tramp fix * lisp/net/tramp.el (tramp-skeleton-file-truename): Remove possible trailing slash. (cherry picked from commit 2658f4eab96aaad7f52245c2422bbfa51db9b207) --- diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index db40cbbb820..efd4f3591bc 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el @@ -3627,7 +3627,8 @@ BODY is the backend specific code." ;; it for security reasons. (when (tramp-tramp-file-p result) (setq result (file-name-quote result 'top))) - result))))))) + ;; Remove possible trailing slash. + (directory-file-name result)))))))) (defmacro tramp-skeleton-make-directory (dir &optional parents &rest body) "Skeleton for `tramp-*-handle-make-directory'.