summaryrefslogtreecommitdiff
path: root/lisp/dired-aux.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1993-05-25 19:05:13 +0000
committerRichard M. Stallman <rms@gnu.org>1993-05-25 19:05:13 +0000
commit363c55314089ea3c436d96ed4bf568a395f2529f (patch)
treec9efe384e25b4050690d6b89ab689a8308c9a36b /lisp/dired-aux.el
parent7dcc696bdf49b3fb4d3244ca7b87e1485b671898 (diff)
downloademacs-363c55314089ea3c436d96ed4bf568a395f2529f.tar.gz
(dired-compress-file): Test the return value
of dired-check-process properly. Fix use of nonexistent var `name'.
Diffstat (limited to 'lisp/dired-aux.el')
-rw-r--r--lisp/dired-aux.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el
index f8503f2d07f..3d2f477962c 100644
--- a/lisp/dired-aux.el
+++ b/lisp/dired-aux.el
@@ -493,7 +493,7 @@ and use this command with a prefix argument (the value does not matter)."
(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