From 2658f4eab96aaad7f52245c2422bbfa51db9b207 Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Sat, 22 Mar 2025 17:49:53 +0100 Subject: [PATCH] ; Another Tramp fix * lisp/net/tramp.el (tramp-skeleton-file-truename): Remove possible trailing slash. --- lisp/net/tramp.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index d8b58bf13e9..91ba71510e1 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el @@ -3632,7 +3632,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'.