]> git.eshelyaron.com Git - emacs.git/commit
* lisp/arc-mode.el: Remove unused struct fields
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 3 Apr 2020 22:11:52 +0000 (18:11 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 3 Apr 2020 22:11:52 +0000 (18:11 -0400)
commitfd38c9c0afe2c5bbf04f565eec05daa52a16472b
tree33ec62aead9578c88886f120275d4529ccbb89ea
parentc640be60d918d5a7be4d9d5e717cf159f878d38c
* lisp/arc-mode.el: Remove unused struct fields

(archive--file-desc): Remove `case-fiddled`.
Change all subtypes's constructors as their callers accordingly.
(archive--file-desc-case-fiddled): New function.
(archive-int-to-mode): Accept a nil input.
Make all callers take advantage of it.
(archive-arc-rename-entry): Use `make-string`.
(archive-zip--file-desc): Change `pos+len` field into `pos` field.
(archive-zip-chmod-entry): Simplify accordingly.
(archive-zip-summarize): Don't bother with `lheader` which was not used.
(archive-zoo--file-desc): Delete struct; use archive--file-desc instead.
(archive-7z--file-desc): Remove `user` and `group` fields.
Adjust constructor and its caller.
(archive-ar-summarize): Use `archive-int-to-mode`.
lisp/arc-mode.el