From 6ba2f028cfa8f6a3a0deb399e9826d91bd724390 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=93scar=20Fuentes?= Date: Wed, 8 Dec 2021 23:49:26 +0100 Subject: [PATCH] Revert "Grep alias `all' shall not match parent directory" This reverts commit 856cd948d1a5a016ad36721246a049d33451902f. Emacs got better at quoting shell arguments and the original value works correctly for vc-git-grep. At the same time, the value introduced on that commit caused a regression on lgrep. * lisp/progmodes/grep.el (grep-files-aliases): Use previous value for `all'. Fixes bug#52367 --- lisp/progmodes/grep.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/progmodes/grep.el b/lisp/progmodes/grep.el index ec2850737c8..9be3af79f9d 100644 --- a/lisp/progmodes/grep.el +++ b/lisp/progmodes/grep.el @@ -203,7 +203,7 @@ by `grep-compute-defaults'; to change the default value, use :version "22.1") (defcustom grep-files-aliases - '(("all" . "* .[!.]* ..?*") ;; Don't match `..'. See bug#22577 + '(("all" . "* .*") ("el" . "*.el") ("ch" . "*.[ch]") ("c" . "*.c") -- 2.39.2