1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

(archive-zip-summarize): Don't hardcode (point-min) = 1.

This commit is contained in:
Stefan Monnier 2002-11-08 23:42:15 +00:00
parent c2801b5048
commit 8627813e5b

View file

@ -1577,7 +1577,7 @@ This doesn't recover lost files, it just undoes changes in the buffer itself."
(defun archive-zip-summarize ()
(goto-char (- (point-max) (- 22 18)))
(search-backward-regexp "[P]K\005\006")
(let ((p (1+ (archive-l-e (+ (point) 16) 4)))
(let ((p (+ (point-min) (archive-l-e (+ (point) 16) 4)))
(maxlen 8)
(totalsize 0)
files