From 05a455e217bb596a88470a6c637a226e4a149383 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 2 Jan 1997 02:30:23 +0000 Subject: [PATCH] (dired-do-chxxx): Use -- only on GNU systems. --- lisp/dired-aux.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.39.5