quote `tramp-end-of-heredoc'.
+2014-02-10 Michael Albinus <michael.albinus@gmx.de>
+
+ * net/tramp-sh.el (tramp-sh-handle-start-file-process): Do not
+ quote `tramp-end-of-heredoc'.
+
2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
* dired.el (dired-get-marked-files): Doc fix (bug#11534).
(when (stringp program)
(format "cd %s && exec %s env PS1=%s %s"
(tramp-shell-quote-argument localname)
- (if heredoc (format "<<'%s'" tramp-end-of-heredoc) "")
+ (if heredoc (format "<<%s" tramp-end-of-heredoc) "")
;; Use a human-friendly prompt, for example for `shell'.
(tramp-shell-quote-argument
(format "%s %s"