From 3dcf306bd8e86df0bfcfac3027a9c242c148f86c Mon Sep 17 00:00:00 2001 From: Nacho Barrientos Date: Sat, 19 Feb 2022 17:10:44 +0100 Subject: [PATCH] Encapsulate files into objects of type archive--file-summary Fixes #1 --- archive-cpio.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archive-cpio.el b/archive-cpio.el index efa056c..ca7465d 100644 --- a/archive-cpio.el +++ b/archive-cpio.el @@ -147,7 +147,7 @@ ARCHIVE-BUFFER is nil." (concat " -> " (buffer-substring filebeg (+ filebeg filesize))) ""))) (text (concat text-a text-b))) - (push (vector text (length text-a) (length text)) visual) + (push (archive--file-summary text (length text-a) (length text)) visual) (push (vector name name nil mode filebeg) files))) (goto-char next))))) (with-current-buffer (or archive-buffer (current-buffer))