]> git.eshelyaron.com Git - emacs.git/commitdiff
* net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
authorMichael Albinus <michael.albinus@gmx.de>
Wed, 3 Aug 2011 19:31:18 +0000 (21:31 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Wed, 3 Aug 2011 19:31:18 +0000 (21:31 +0200)
(tramp-open-shell): Use `tramp-shell-quote-argument'.

* net/trampver.el: Update release number.

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

index 6a4d4b9cc9c98ec8058160617d0d7373b154a9f0..28d78fa7302adc1bbf256122350cb8207d2977d5 100644 (file)
@@ -1,3 +1,10 @@
+2011-08-03  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
+       (tramp-open-shell): Use `tramp-shell-quote-argument'.
+
+       * net/trampver.el: Update release number.
+
 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
index 5c497748943741e4a4b668a2b79b339c26da3942..428bd6422d811828b08cf059e775dc51809df347 100644 (file)
@@ -3640,11 +3640,11 @@ file exists and nonzero exit status otherwise."
       (when extra-args (setq shell (concat shell " " extra-args)))
       (tramp-send-command
        vec (format "exec env ENV='' PROMPT_COMMAND='' PS1=%s PS2='' PS3='' %s"
-                  (shell-quote-argument tramp-end-of-output) shell)
+                  (tramp-shell-quote-argument tramp-end-of-output) shell)
        t))
     ;; Setting prompts.
     (tramp-send-command
-     vec (format "PS1=%s" (shell-quote-argument tramp-end-of-output)) t)
+     vec (format "PS1=%s" (tramp-shell-quote-argument tramp-end-of-output)) t)
     (tramp-send-command vec "PS2=''" t)
     (tramp-send-command vec "PS3=''" t)
     (tramp-send-command vec "PROMPT_COMMAND=''" t)))
@@ -3736,7 +3736,7 @@ process to set up.  VEC specifies the connection."
 
   (tramp-message vec 5 "Setting shell prompt")
   (tramp-send-command
-   vec (format "PS1=%s" (shell-quote-argument tramp-end-of-output)) t)
+   vec (format "PS1=%s" (tramp-shell-quote-argument tramp-end-of-output)) t)
   (tramp-send-command vec "PS2=''" t)
   (tramp-send-command vec "PS3=''" t)
   (tramp-send-command vec "PROMPT_COMMAND=''" t)
index da51662b2164bb3484cd32d733d24869d05930c0..5492441ac774ad1856cff8046a07216700391d72 100644 (file)
@@ -31,7 +31,7 @@
 ;; should be changed only there.
 
 ;;;###tramp-autoload
-(defconst tramp-version "2.2.2"
+(defconst tramp-version "2.2.3-pre"
   "This version of Tramp.")
 
 ;;;###tramp-autoload
@@ -44,7 +44,7 @@
                      (= emacs-major-version 21)
                      (>= emacs-minor-version 4)))
             "ok"
-          (format "Tramp 2.2.2 is not fit for %s"
+          (format "Tramp 2.2.3-pre is not fit for %s"
                   (when (string-match "^.*$" (emacs-version))
                     (match-string 0 (emacs-version)))))))
   (unless (string-match "\\`ok\\'" x) (error "%s" x)))