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
This commit is contained in:
Oscar Fuentes 2016-02-14 16:14:33 +01:00
parent cc6d906490
commit 856cd948d1

View file

@ -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")