From: Chris Hanson Date: Wed, 14 Sep 1994 20:50:07 +0000 (+0000) Subject: Fix type error in M-x dired-do-compress. X-Git-Tag: 20090517-FFI~7116 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=6b1fd8fdca96c0e68c3ae3f587e1783a20e69c06;p=mit-scheme.git Fix type error in M-x dired-do-compress. --- 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.")))))