`from-file' to use `file'; the former only works because
dired-compress-file is only called by dired-compress, which binds
from-file.
((file-symlink-p file)
nil)
((string-match "\\.Z$" file)
- (if (dired-check-process (concat "Uncompressing " from-file)
- "uncompress" from-file)
+ (if (dired-check-process (concat "Uncompressing " file)
+ "uncompress" file)
(substring file 0 -2)))
(t
- (if (dired-check-process (concat "Compressing " from-file)
- "compress" "-f" from-file)
+ (if (dired-check-process (concat "Compressing " file)
+ "compress" "-f" file)
(concat name ".Z"))))))
\f
(defun dired-mark-confirm (op-symbol arg)