]> git.eshelyaron.com Git - emacs.git/commit
* lisp/arc-mode.el: Rewrite displaying the summaries
authorStefan Monnier <monnier@iro.umontreal.ca>
Sun, 5 Apr 2020 02:46:29 +0000 (22:46 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sun, 5 Apr 2020 02:46:42 +0000 (22:46 -0400)
commit95a7c6ec58c8c8c905f3e11be49419750737ec97
treeea6ac63bf164ce0df190f27a71d2c1280285d402
parent83f9094316de5a5a67ecf41ae93f7950dd27d569
* lisp/arc-mode.el: Rewrite displaying the summaries

Completely rewrite the code that displayes the summaries, so all
backends share the same code.

(archive--summarize-descs): New function.
(archive-arc-summarize, archive-lzh-summarize, archive-zip-summarize)
(archive-zoo-summarize, archive-rar-summarize, archive-7z-summarize)
(archive-ar-summarize): Use it.
(archive-hidden-columns): New custom.
(archive-alternate-hidden-columns): New const.
(archive-mode-map): Always enable `archive-alternate-display`.
(archive-alternate-display): Set `archive-hidden-columns`.
(archive-hideshow-column): New command.
(archive--fit, archive--fit2, archive--enabled-p): New aux functions.
etc/NEWS
lisp/arc-mode.el