diff options
author | Romain Francoise <romain@orebokech.com> | 2006-05-15 08:52:17 +0000 |
---|---|---|
committer | Romain Francoise <romain@orebokech.com> | 2006-05-15 08:52:17 +0000 |
commit | 3f8105a126ca4c3170f0edf339b58fa6662f986d (patch) | |
tree | 91346162d49726b5e5c8fbe18ef01a33d0cf02ce | |
parent | 7f2e71dd394a9ea37ba797411ade41df44ec4ad4 (diff) | |
download | emacs-3f8105a126ca4c3170f0edf339b58fa6662f986d.tar.gz |
(dired-guess-shell-gnutar): On GNU and GNU/Linux
systems, default to "tar" since those systems probably have GNU
tar.
-rw-r--r-- | lisp/ChangeLog | 6 | ||||
-rw-r--r-- | lisp/dired-x.el | 4 |
2 files changed, 9 insertions, 1 deletions
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 <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. 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 |