Skip to content

Commit

Permalink
Encapsulate files into objects of type archive--file-summary
Browse files Browse the repository at this point in the history
Fixes #1
  • Loading branch information
nbarrientos committed Feb 19, 2022
1 parent 59f83ca commit 3dcf306
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion archive-cpio.el
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 3dcf306

Please # to comment.