(tar-swap-data): New function.
commitd3a36099e79e56cc513904728f28cfda2fe474a8
authorAndreas Schwab <schwab@suse.de>
Fri, 26 Dec 2008 16:38:00 +0000 (26 16:38 +0000)
committerAndreas Schwab <schwab@suse.de>
Fri, 26 Dec 2008 16:38:00 +0000 (26 16:38 +0000)
tree1b179657105e32a51b277595a589616a85e5e13d
parent057f6dd3a417adf5a4bcc70420ef1c4a1e51f289
(tar-swap-data): New function.
(tar-change-major-mode-hook): Use it instead of buffer-swap-text.
(tar-mode-revert): Likewise.
(tar-mode): Likewise.  Don't set write-region-annotate-functions.
(tar-data-swapped-p): Test buffer-swapped-with.
(tar-write-region-annotate): Remove.
(tar-header-block-tokenize): Add argument `coding' and use it
instead of tar-file-name-coding-system.
(tar-summarize-buffer): Pass tar-file-name-coding-system here.
lisp/ChangeLog
lisp/tar-mode.el