From: Richard M. Stallman Date: Sun, 15 Jul 2007 14:36:26 +0000 (+0000) Subject: (tar-get-descriptor): No error for zero-length file. X-Git-Tag: emacs-pretest-22.1.90~1266 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f09bbd9388cd0e5577f489edcf8701627bf339cb;p=emacs.git (tar-get-descriptor): No error for zero-length file. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index a18a61fe29b..938cbdb9a00 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2007-07-15 Aaron Hawley + + * tar-mode.el (tar-get-descriptor): No error for zero-length file. + 2007-07-15 Martin Rudalics * mouse.el (mouse-drag-track): Reset transient-mark-mode to nil diff --git a/lisp/tar-mode.el b/lisp/tar-mode.el index f222c23fbf0..684396f1692 100644 --- a/lisp/tar-mode.el +++ b/lisp/tar-mode.el @@ -667,7 +667,7 @@ appear on disk when you save the tar-file's buffer." ((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)