changeset 70664:002eb5def536

(dired-guess-shell-gnutar): On GNU and GNU/Linux systems, default to "tar" since those systems probably have GNU tar.
author Romain Francoise <romain@orebokech.com>
date Mon, 15 May 2006 08:52:17 +0000
parents 3854e2f08147
children dc0cc3e03033
files lisp/ChangeLog lisp/dired-x.el
diffstat 2 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Mon May 15 05:57:05 2006 +0000
+++ b/lisp/ChangeLog	Mon May 15 08:52:17 2006 +0000
@@ -1,3 +1,9 @@
+2006-05-15  Romain Francoise  <romain@orebokech.com>
+
+	* 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  <larsh@soem.dk>
 
 	* desktop.el (desktop-missing-file-warning): Fix docstring.
--- a/lisp/dired-x.el	Mon May 15 05:57:05 2006 +0000
+++ b/lisp/dired-x.el	Mon May 15 08:52:17 2006 +0000
@@ -215,7 +215,9 @@
   :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