(dired-do-chxxx): Use -- only on GNU systems.
authorRichard M. Stallman <rms@gnu.org>
Thu, 2 Jan 1997 02:30:23 +0000 (02:30 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 2 Jan 1997 02:30:23 +0000 (02:30 +0000)
lisp/dired-aux.el

index c8e37ea..86b897d 100644 (file)
@@ -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