; Another Tramp fix

* lisp/net/tramp.el (tramp-skeleton-file-truename):
Remove possible trailing slash.
This commit is contained in:
Michael Albinus 2025-03-22 17:49:53 +01:00
parent 9816c61c48
commit 2658f4eab9

View file

@ -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'.