changeset 4580:250f9c22ef74

(dired-compress-file): Fix previous change.
author Richard M. Stallman <rms@gnu.org>
date Thu, 12 Aug 1993 03:36:56 +0000
parents 131a3edbd49f
children 0cca18841c6d
files lisp/dired-aux.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/dired-aux.el	Thu Aug 12 00:23:54 1993 +0000
+++ b/lisp/dired-aux.el	Thu Aug 12 03:36:56 1993 +0000
@@ -517,7 +517,7 @@
 	     (string-match "\\.z$" file))
 	   (if (not (dired-check-process (concat "Uncompressing " file)
 					 "gunzip" file))
-	       (substring file 0 -3)))
+	       (substring file 0 -2)))
 	  (t
 	   ;;; Try gzip; if we don't have that, use compress.
 	   (condition-case nil