changeset 3089:02bed2af9f9b

(dired-compress-file): Test the return value of dired-check-process properly. Fix use of nonexistent var `name'.
author Richard M. Stallman <rms@gnu.org>
date Tue, 25 May 1993 19:05:13 +0000
parents 0f6e6e56b403
children 7b418622d32b
files lisp/dired-aux.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/dired-aux.el	Tue May 25 19:02:08 1993 +0000
+++ b/lisp/dired-aux.el	Tue May 25 19:05:13 1993 +0000
@@ -493,7 +493,7 @@
 	  (t
 	   (if (not (dired-check-process (concat "Compressing " file)
 					 "compress" "-f" file))
-	       (concat name ".Z"))))))
+	       (concat file ".Z"))))))
 
 (defun dired-mark-confirm (op-symbol arg)
   ;; Request confirmation from the user that the operation described