From f09bbd9388cd0e5577f489edcf8701627bf339cb Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 15 Jul 2007 14:36:26 +0000 Subject: [PATCH] (tar-get-descriptor): No error for zero-length file. --- lisp/ChangeLog | 4 ++++ lisp/tar-mode.el | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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) -- 2.39.5