diff options
author | Richard M. Stallman <rms@gnu.org> | 1997-01-02 02:30:23 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1997-01-02 02:30:23 +0000 |
commit | c641a93c66b993936a217ae4604557a6a8d61bb5 (patch) | |
tree | 007579744113defd106362b80927c5bd3a6c9e6c | |
parent | 9041182340d1beae7ebefc66821639d705b652cf (diff) | |
download | emacs-c641a93c66b993936a217ae4604557a6a8d61bb5.tar.gz |
(dired-do-chxxx): Use -- only on GNU systems.
-rw-r--r-- | lisp/dired-aux.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el index c8e37ea340a..86b897d6616 100644 --- a/lisp/dired-aux.el +++ b/lisp/dired-aux.el @@ -98,7 +98,10 @@ With prefix arg, prompt for argument SWITCHES which is options for `diff'." (setq failures (dired-bunch-files 10000 (function dired-check-process) - (list operation program new-attribute "--") + (append + (list operation program new-attribute) + (if (string-match "gnu" system-configuration) + '("--") nil)) files)) (dired-do-redisplay arg);; moves point if ARG is an integer (if failures |