From 51537b9e4937d7853647871dc264f0be9412a9fa Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Wed, 28 Feb 2018 15:10:11 +0100 Subject: [PATCH] Some minor Tramp tweaks * lisp/net/tramp-adb.el (tramp-adb-get-ls-command): Fix docstring. * lisp/net/tramp-sh.el (tramp-vc-registered-read-file-names): Quote file. * lisp/net/tramp.el (tramp-handle-substitute-in-file-name): Make it more robust. --- lisp/net/tramp-adb.el | 2 +- lisp/net/tramp-sh.el | 10 ++++++---- lisp/net/tramp.el | 2 +- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/lisp/net/tramp-adb.el b/lisp/net/tramp-adb.el index cb805067864..7ac61b843ff 100644 --- a/lisp/net/tramp-adb.el +++ b/lisp/net/tramp-adb.el @@ -458,7 +458,7 @@ pass to the OPERATION." result))))))))) (defun tramp-adb-get-ls-command (vec) - "Determine `ls' command at its arguments." + "Determine `ls' command and its arguments." (with-tramp-connection-property vec "ls" (tramp-message vec 5 "Finding a suitable `ls' command") (cond diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el index ff5d404aaac..f619ac30633 100644 --- a/lisp/net/tramp-sh.el +++ b/lisp/net/tramp-sh.el @@ -962,15 +962,16 @@ busybox awk '{}'