From a59d76e05f20a25ecec8fc83834ba03c343ae4a2 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 6 Dec 2013 17:18:23 +0200 Subject: [PATCH] Revert inadvertently commited changes in grep.el. --- lisp/progmodes/grep.el | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/lisp/progmodes/grep.el b/lisp/progmodes/grep.el index 5b0c080de29..46af51e1f97 100644 --- a/lisp/progmodes/grep.el +++ b/lisp/progmodes/grep.el @@ -1005,9 +1005,7 @@ to specify a command to run." (mapconcat #'shell-quote-argument (split-string files) - (concat - (if (file-remote-p dir) "\\\n") - " -o " find-name-arg " ")) + (concat "\\\n" " -o " find-name-arg " ")) " " (shell-quote-argument ")")) dir @@ -1028,9 +1026,7 @@ to specify a command to run." (concat "*/" (cdr ignore))))))) grep-find-ignored-directories - (if (file-remote-p dir) - "\\\n -o -path " - " -o -path ")) + "\\\n -o -path ") " " (shell-quote-argument ")") " -prune -o ")) @@ -1048,9 +1044,7 @@ to specify a command to run." (shell-quote-argument (cdr ignore)))))) grep-find-ignored-files - (if (file-remote-p dir) - "\\\n -o -name " - " -o -name ")) + "\\\n -o -name ") " " (shell-quote-argument ")") " -prune -o ")))))) -- 2.39.2