From 6b1fd8fdca96c0e68c3ae3f587e1783a20e69c06 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Wed, 14 Sep 1994 20:50:07 +0000 Subject: [PATCH] Fix type error in M-x dired-do-compress. --- v7/src/edwin/dirunx.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/v7/src/edwin/dirunx.scm b/v7/src/edwin/dirunx.scm index 2577f03f1..31eb351c1 100644 --- a/v7/src/edwin/dirunx.scm +++ b/v7/src/edwin/dirunx.scm @@ -1,6 +1,6 @@ ;;; -*-Scheme-*- ;;; -;;; $Id: dirunx.scm,v 1.5 1994/09/14 20:43:37 cph Exp $ +;;; $Id: dirunx.scm,v 1.6 1994/09/14 20:50:07 cph Exp $ ;;; ;;; Copyright (c) 1992-93 Massachusetts Institute of Technology ;;; @@ -101,7 +101,9 @@ The files are compressed or uncompressed using gzip." (pathname-new-type pathname (and (not decompress?) - (string-append (or type "") ".gz"))) + (if (string? type) + (string-append type ".gz") + "gz"))) lstart)))))))) (if (positive? n) (message "Compressed or uncompressed " n " files."))))) -- 2.25.1