aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/net
diff options
context:
space:
mode:
authorMichael Albinus2014-02-10 14:22:14 +0100
committerMichael Albinus2014-02-10 14:22:14 +0100
commit5cef7abdbc231cb6b84595c34a4d9dc302dc9e34 (patch)
tree1ffb0e9ca0d5c38fdea6ed1363edd6f8c7cd87c7 /lisp/net
parent2fc17d30abf94e5f366a867434a5254c49dbf72f (diff)
downloademacs-5cef7abdbc231cb6b84595c34a4d9dc302dc9e34.tar.gz
emacs-5cef7abdbc231cb6b84595c34a4d9dc302dc9e34.zip
Revert previous patch, it introduces other problems.
Diffstat (limited to 'lisp/net')
-rw-r--r--lisp/net/tramp-sh.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el
index 2a792d786df..8d3c4c2c58b 100644
--- a/lisp/net/tramp-sh.el
+++ b/lisp/net/tramp-sh.el
@@ -2713,7 +2713,7 @@ the result will be a local, non-Tramp, filename."
2713 (when (stringp program) 2713 (when (stringp program)
2714 (format "cd %s && exec %s env PS1=%s %s" 2714 (format "cd %s && exec %s env PS1=%s %s"
2715 (tramp-shell-quote-argument localname) 2715 (tramp-shell-quote-argument localname)
2716 (if heredoc (format "<<%s" tramp-end-of-heredoc) "") 2716 (if heredoc (format "<<'%s'" tramp-end-of-heredoc) "")
2717 ;; Use a human-friendly prompt, for example for `shell'. 2717 ;; Use a human-friendly prompt, for example for `shell'.
2718 (tramp-shell-quote-argument 2718 (tramp-shell-quote-argument
2719 (format "%s %s" 2719 (format "%s %s"