diff options
Diffstat (limited to 'lisp/dired.el')
-rw-r--r-- | lisp/dired.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/dired.el b/lisp/dired.el index 57c5c8954b4..58c29a152b7 100644 --- a/lisp/dired.el +++ b/lisp/dired.el @@ -50,7 +50,7 @@ ;;;###autoload -(defcustom dired-listing-switches "-al" +(defcustom dired-listing-switches (purecopy "-al") "Switches passed to `ls' for Dired. MUST contain the `l' option. May contain all other options that don't contradict `-l'; may contain even `F', `b', `i' and `s'. See also the variable @@ -71,11 +71,12 @@ If nil, `dired-listing-switches' is used.") ;;;###autoload (defvar dired-chown-program + (purecopy (if (memq system-type '(hpux usg-unix-v irix linux gnu/linux cygwin)) "chown" (if (file-exists-p "/usr/sbin/chown") "/usr/sbin/chown" - "/etc/chown")) + "/etc/chown"))) "Name of chown command (usually `chown' or `/etc/chown').") (defvar dired-use-ls-dired (not (not (string-match "gnu" system-configuration))) |