From 3f8105a126ca4c3170f0edf339b58fa6662f986d Mon Sep 17 00:00:00 2001 From: Romain Francoise Date: Mon, 15 May 2006 08:52:17 +0000 Subject: [PATCH] (dired-guess-shell-gnutar): On GNU and GNU/Linux systems, default to "tar" since those systems probably have GNU tar. --- lisp/ChangeLog | 6 ++++++ lisp/dired-x.el | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c944ba470f8..55c70a142df 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,9 @@ +2006-05-15 Romain Francoise + + * dired-x.el (dired-guess-shell-gnutar): On GNU and GNU/Linux + systems, default to "tar" since those systems probably have GNU + tar. + 2006-05-14 Lars Hansen * desktop.el (desktop-missing-file-warning): Fix docstring. diff --git a/lisp/dired-x.el b/lisp/dired-x.el index e207c60502d..0a467920f11 100644 --- a/lisp/dired-x.el +++ b/lisp/dired-x.el @@ -215,7 +215,9 @@ a directory. See also `dired-local-variables-file'." :type 'boolean :group 'dired-x) -(defcustom dired-guess-shell-gnutar nil +(defcustom dired-guess-shell-gnutar (when (or (eq system-type 'gnu) + (eq system-type 'gnu/linux)) + "tar") "*If non-nil, name of GNU tar executable. \(E.g., \"tar\" or \"gtar\"). The `z' switch will be used with it for compressed or gzip'ed tar files. If you don't have GNU tar, set this -- 2.39.5