changeset 78128:aec26e5eba68

(tar-get-descriptor): No error for zero-length file.
author Richard M. Stallman <rms@gnu.org>
date Sun, 15 Jul 2007 14:35:06 +0000
parents 2f1e1a9450b6
children d499b52f704d
files lisp/tar-mode.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/tar-mode.el	Sun Jul 15 08:31:26 2007 +0000
+++ b/lisp/tar-mode.el	Sun Jul 15 14:35:06 2007 +0000
@@ -667,7 +667,7 @@
 		     ((eq link-p 38) "a volume header")
 		     ((eq link-p 55) "an extended pax header")
 		     (t "a link"))))
-    (if (zerop size) (error "This is a zero-length file"))
+    (if (zerop size) (message "This is a zero-length file"))
     descriptor))
 
 (defun tar-mouse-extract (event)