From: Oscar Fuentes Date: Sun, 14 Feb 2016 15:14:33 +0000 (+0100) Subject: Grep alias `all' shall not match parent directory X-Git-Tag: emacs-25.0.92~124 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=856cd94;p=emacs.git 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 --- diff --git a/lisp/progmodes/grep.el b/lisp/progmodes/grep.el index 7e6f157f5fe..f04a7226d18 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")