summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/net/tramp-sh.el4
1 files changed, 3 insertions, 1 deletions
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