emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-28 6ba2f02: Revert "Grep alias `all' shall not match parent direct


From: Oscar Fuentes
Subject: emacs-28 6ba2f02: Revert "Grep alias `all' shall not match parent directory"
Date: Wed, 8 Dec 2021 17:53:43 -0500 (EST)

branch: emacs-28
commit 6ba2f028cfa8f6a3a0deb399e9826d91bd724390
Author: Óscar Fuentes <ofv@wanadoo.es>
Commit: Óscar Fuentes <ofv@wanadoo.es>

    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 ec28507..9be3af7 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]