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
commit730426aeb14844bcd6fe594d20c967bb8ec7a89f (patch)
tree2c5f93f8d384a88d62dc8d7de313e61aec6fea0b /lisp/dired-aux.el
parent2a0a090a921f226e1df3137c62c36a022b4ea4fc (diff)
downloademacs-730426aeb14844bcd6fe594d20c967bb8ec7a89f.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