summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Albinus <michael.albinus@gmx.de>2019-07-10 10:34:02 +0200
committerMichael Albinus <michael.albinus@gmx.de>2019-07-10 10:34:02 +0200
commitc6775bc9ca9d321bda258e812198a37d29947aff (patch)
treebff9f6e0edc44c9f17a63d8bda60a6ae7860261a
parent7d6eeef6825b04df3e4a29bcb48ee530fc11e163 (diff)
downloademacs-c6775bc9ca9d321bda258e812198a37d29947aff.tar.gz
* lisp/net/tramp-sh.el (tramp-inline-compress-start-size): Set nil on w32.
-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