From: Richard M. Stallman Date: Thu, 2 Jan 1997 02:30:23 +0000 (+0000) Subject: (dired-do-chxxx): Use -- only on GNU systems. X-Git-Tag: emacs-20.1~3136 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=05a455e217bb596a88470a6c637a226e4a149383;p=emacs.git (dired-do-chxxx): Use -- only on GNU systems. --- 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