From c6775bc9ca9d321bda258e812198a37d29947aff Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Wed, 10 Jul 2019 10:34:02 +0200 Subject: [PATCH] * lisp/net/tramp-sh.el (tramp-inline-compress-start-size): Set nil on w32. --- lisp/net/tramp-sh.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el index 6e868aa1fc6..18ae2951084 100644 --- a/lisp/net/tramp-sh.el +++ b/lisp/net/tramp-sh.el @@ -41,12 +41,14 @@ (defvar vc-hg-program) ;;;###tramp-autoload -(defcustom tramp-inline-compress-start-size 4096 +(defcustom tramp-inline-compress-start-size + (unless (memq system-type '(windows-nt)) 4096) "The minimum size of compressing where inline transfer. When inline transfer, compress transferred data of file whose size is this value or above (up to `tramp-copy-size-limit'). If it is nil, no compression at all will be applied." :group 'tramp + :version "26.3" :type '(choice (const nil) integer)) ;;;###tramp-autoload -- 2.39.5