emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] emacs-25 856cd94: Grep alias `all' shall not match parent


From: Oscar Fuentes
Subject: [Emacs-diffs] emacs-25 856cd94: Grep alias `all' shall not match parent directory
Date: Sun, 14 Feb 2016 15:21:05 +0000

branch: emacs-25
commit 856cd948d1a5a016ad36721246a049d33451902f
Author: Oscar Fuentes <address@hidden>
Commit: Oscar Fuentes <address@hidden>

    Grep alias `all' shall not match parent directory
    
    * lisp/progmodes/grep.el (grep-files-aliases): Don't match parent
      directory for `all'. Fixes bug#22577
---
 lisp/progmodes/grep.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lisp/progmodes/grep.el b/lisp/progmodes/grep.el
index 7e6f157..f04a722 100644
--- a/lisp/progmodes/grep.el
+++ b/lisp/progmodes/grep.el
@@ -189,7 +189,7 @@ Customize or call the function `grep-apply-setting'."
   :group 'grep)
 
 (defcustom grep-files-aliases
-  '(("all" .   "* .*")
+  '(("all" .   "* .[!.]* ..?*") ;; Don't match `..'. See bug#22577
     ("el" .    "*.el")
     ("ch" .    "*.[ch]")
     ("c" .     "*.c")



reply via email to

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