From: Óscar Fuentes Date: Wed, 8 Dec 2021 22:49:26 +0000 (+0100) Subject: Revert "Grep alias `all' shall not match parent directory" X-Git-Tag: emacs-28.0.91~68 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6ba2f028cf;p=emacs.git 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 --- 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")