From: Michael Albinus Date: Wed, 28 Feb 2018 14:10:11 +0000 (+0100) Subject: Some minor Tramp tweaks X-Git-Tag: emacs-27.0.90~5598 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=51537b9e4937d7853647871dc264f0be9412a9fa;p=emacs.git 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. --- 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 '{}'