* net/tramp-sh.el (tramp-sh-handle-start-file-process): Do not
authorMichael Albinus <michael.albinus@gmx.de>
Mon, 10 Feb 2014 10:06:07 +0000 (11:06 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Mon, 10 Feb 2014 10:06:07 +0000 (11:06 +0100)
quote `tramp-end-of-heredoc'.

lisp/ChangeLog
lisp/net/tramp-sh.el

index 6a2cdab..06d710e 100644 (file)
@@ -1,3 +1,8 @@
+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).
index 8d3c4c2..2a792d7 100644 (file)
@@ -2713,7 +2713,7 @@ the result will be a local, non-Tramp, filename."
            (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"