summaryrefslogtreecommitdiff
path: root/lisp/tar-mode.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/tar-mode.el')
-rw-r--r--lisp/tar-mode.el6
1 files changed, 2 insertions, 4 deletions
diff --git a/lisp/tar-mode.el b/lisp/tar-mode.el
index 77b62a19289..80e642d6666 100644
--- a/lisp/tar-mode.el
+++ b/lisp/tar-mode.el
@@ -750,9 +750,7 @@ appear on disk when you save the tar-file's buffer."
;; that the file's contents' encoding and
;; EOL format are auto-detected.
(let ((file-name-handler-alist
- (if (featurep 'dos-w32)
- '(("" . tar-file-name-handler))
- file-name-handler-alist)))
+ '(("" . tar-file-name-handler))))
(car (find-operation-coding-system
'insert-file-contents
(cons name (current-buffer)) t)))))
@@ -1212,7 +1210,7 @@ to make your changes permanent."
;;
(let ((position (- (length tar-parse-info) (length head))))
(goto-char (point-min))
- (next-line position)
+ (forward-line position)
(beginning-of-line)
(let ((p (point))
after