(insert-buffer-substring tar-buffer start end)
(set-buffer-multibyte t))
(insert-buffer-substring tar-buffer start end))
- (goto-char 0)
+ (goto-char (point-min))
(setq buffer-file-name
;; `:' is not allowed on Windows
(expand-file-name (concat tarname "!" name)))
(and set-auto-coding-function
(save-excursion
(funcall set-auto-coding-function
- name (point-max)))))
+ name (- (point-max) (point))))))
(multibyte enable-multibyte-characters)
(detected (detect-coding-region
1 (min 16384 (point-max)) t)))
(multibyte enable-multibyte-characters))
(set-buffer-multibyte nil)
(save-excursion
- (goto-char 0)
+ (goto-char (point-min))
(while (not (eobp))
(if (looking-at "D")
(progn (tar-expunge-internal)
"Remove the stars at the beginning of each line."
(interactive)
(save-excursion
- (goto-char 1)
+ (goto-char (point-min))
(while (< (position-bytes (point)) tar-header-offset)
(if (not (eq (following-char) ?\ ))
(progn (delete-char 1) (insert " ")))
;; alter the descriptor-line...
;;
(let ((position (- (length tar-parse-info) (length head))))
- (goto-char 1)
+ (goto-char (point-min))
(next-line position)
(beginning-of-line)
(let ((p (point))