+2014-04-20 Michael Albinus <michael.albinus@gmx.de>
+
+ * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
+ possible.
+
2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
* progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
vec (format
"%s --color=never -al /dev/null" result))
(setq result (concat result " --color=never")))
+ ;; This should support file names with special
+ ;; characters. If this option is not supported, such
+ ;; file names might fail.
+ (when (tramp-send-command-and-check
+ vec (format "%s -b /dev/null" result))
+ (setq result (concat result " -b")))
(throw 'ls-found result))
(setq dl (cdr dl))))))
(tramp-error vec 'file-error "Couldn't find a proper `ls' command"))))