* lisp/progmodes/grep.el (grep-mode): Fix last change.

Fixes: debbugs:8684
This commit is contained in:
Stefan Monnier 2011-05-21 20:18:22 -03:00
parent 7e4ccca345
commit b7cf2c79c7
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
* progmodes/grep.el (grep-mode): Fix last change (bug#8684).
2011-05-21 Glenn Morris <rgm@gnu.org>
* files.el (hack-local-variables-prop-line, hack-local-variables):

View file

@ -698,7 +698,9 @@ This function is called from `compilation-filter-hook'."
grep-hit-face)
(set (make-local-variable 'compilation-error-regexp-alist)
grep-regexp-alist)
(set (make-local-variable 'compilation-directory-matcher) nil)
;; compilation-directory-matcher can't be nil, so we set it to a regexp that
;; can never match.
(set (make-local-variable 'compilation-directory-matcher) "\\`a\\`")
(set (make-local-variable 'compilation-process-setup-function)
'grep-process-setup)
(set (make-local-variable 'compilation-disable-input) t)