diff options
author | Richard M. Stallman <rms@gnu.org> | 2007-07-15 14:36:26 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2007-07-15 14:36:26 +0000 |
commit | f09bbd9388cd0e5577f489edcf8701627bf339cb (patch) | |
tree | 34a48586116877c26e7ac17482994ead78dc17ee /lisp | |
parent | 1d16d0504bc8dd49062ef7c451c7d4f68456b779 (diff) | |
download | emacs-f09bbd9388cd0e5577f489edcf8701627bf339cb.tar.gz |
(tar-get-descriptor): No error for zero-length file.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/ChangeLog | 4 | ||||
-rw-r--r-- | lisp/tar-mode.el | 2 |
2 files changed, 5 insertions, 1 deletions
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 <aaronh@garden.org> + + * tar-mode.el (tar-get-descriptor): No error for zero-length file. + 2007-07-15 Martin Rudalics <rudalics@gmx.at> * 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) |