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 /lisp/dired-x.el | |
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.
Diffstat (limited to 'lisp/dired-x.el')
-rw-r--r-- | lisp/dired-x.el | 4 |
1 files changed, 3 insertions, 1 deletions
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 |