]> git.eshelyaron.com Git - emacs.git/commitdiff
(dired-guess-shell-gnutar): On GNU and GNU/Linux
authorRomain Francoise <romain@orebokech.com>
Mon, 15 May 2006 08:52:17 +0000 (08:52 +0000)
committerRomain Francoise <romain@orebokech.com>
Mon, 15 May 2006 08:52:17 +0000 (08:52 +0000)
systems, default to "tar" since those systems probably have GNU
tar.

lisp/ChangeLog
lisp/dired-x.el

index c944ba470f8787bb2e766435fc8908a1ec4de5f1..55c70a142df05a45595bf52af7afcd833c796823 100644 (file)
@@ -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.
index e207c60502dfb40c702c2b8db06e2b2e1a893fc5..0a467920f11b6faa760664c70f2152be5d6fa74b 100644 (file)
@@ -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