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.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/tar-mode.el b/lisp/tar-mode.el
index 77b62a19289..944694b9b7e 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)))))