]> code.delx.au - gnu-emacs/commitdiff
Sync with Tramp 2.2.6.
authorMichael Albinus <michael.albinus@gmx.de>
Wed, 12 Sep 2012 16:36:25 +0000 (18:36 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Wed, 12 Sep 2012 16:36:25 +0000 (18:36 +0200)
* net/tramp.el (tramp-accept-process-output): Don't use
JUST-THIS-ONE in the XEmacs case.

* net/trampver.el: Update release number.

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

index 0345c922a15a6d0cfde917c71e92c3837b1ce226..563111988314d4ac468ee6265b00e63b9f639be3 100644 (file)
@@ -1,3 +1,12 @@
+2012-09-12  Michael Albinus  <michael.albinus@gmx.de>
+
+       Sync with Tramp 2.2.6.
+
+       * net/tramp.el (tramp-accept-process-output): Don't use
+       JUST-THIS-ONE in the XEmacs case.
+
+       * net/trampver.el: Update release number.
+
 2012-09-12  Martin Rudalics  <rudalics@gmx.at>
 
        * emacs-lisp/debug.el (debugger-previous-window-height): New
index a17bbfa0d14608e4bb893cce8d48dac6fb05c32e..019ab1eef0fd0a590901275a3a597b52713803b9 100644 (file)
@@ -3293,7 +3293,9 @@ for process communication also."
       ;; Under Windows XP, accept-process-output doesn't return
       ;; sometimes.  So we add an additional timeout.
       (with-timeout ((or timeout 1))
-       (accept-process-output proc timeout timeout-msecs (and proc t))))
+       (if (featurep 'xemacs)
+           (accept-process-output proc timeout timeout-msecs)
+         (accept-process-output proc timeout timeout-msecs (and proc t)))))
     (tramp-message proc 10 "\n%s" (buffer-string))))
 
 (defun tramp-check-for-regexp (proc regexp)
index 499af730788cc58e9596fc748dfbbbb0f1c51e95..2d0a8e3d23dd8e118fe0ed384e929fe4c9e9dd05 100644 (file)
@@ -31,7 +31,7 @@
 ;; should be changed only there.
 
 ;;;###tramp-autoload
-(defconst tramp-version "2.2.6-pre"
+(defconst tramp-version "2.2.6"
   "This version of Tramp.")
 
 ;;;###tramp-autoload
@@ -44,7 +44,7 @@
                      (= emacs-major-version 21)
                      (>= emacs-minor-version 4)))
             "ok"
-          (format "Tramp 2.2.6-pre is not fit for %s"
+          (format "Tramp 2.2.6 is not fit for %s"
                   (when (string-match "^.*$" (emacs-version))
                     (match-string 0 (emacs-version)))))))
   (unless (string-match "\\`ok\\'" x) (error "%s" x)))