From: Michael Albinus <michael.albinus@gmx.de>
Date: Sat, 27 Oct 2018 07:22:18 +0000 (+0200)
Subject: * lisp/net/tramp-sh.el (tramp-inline-compress-commands):
X-Git-Tag: emacs-26.1.90~59
X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=13132b39932af0139451b9cd77a313c7a023b18e;p=emacs.git

* lisp/net/tramp-sh.el (tramp-inline-compress-commands):

Suppress warnings about obsolete environment variable GZIP.
---

diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el
index 3f83697c6bf..c304fcb7aa3 100644
--- a/lisp/net/tramp-sh.el
+++ b/lisp/net/tramp-sh.el
@@ -4436,7 +4436,8 @@ means discard it)."
     (if (stringp output) (concat " >" output) ""))))
 
 (defconst tramp-inline-compress-commands
-  '(("gzip" "gzip -d")
+  '(;; Suppress warnings about obsolete environment variable GZIP.
+    ("env GZIP= gzip" "env GZIP= gzip -d")
     ("bzip2" "bzip2 -d")
     ("xz" "xz -d")
     ("compress" "compress -d"))