diff options
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/progmodes/grep.el | 4 |
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index a5af20b109b..a1ec897b2e2 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * progmodes/grep.el (grep-mode): Fix last change (bug#8684). | ||
| 4 | |||
| 1 | 2011-05-21 Glenn Morris <rgm@gnu.org> | 5 | 2011-05-21 Glenn Morris <rgm@gnu.org> |
| 2 | 6 | ||
| 3 | * files.el (hack-local-variables-prop-line, hack-local-variables): | 7 | * files.el (hack-local-variables-prop-line, hack-local-variables): |
diff --git a/lisp/progmodes/grep.el b/lisp/progmodes/grep.el index 3b819a149b2..04b54b1d662 100644 --- a/lisp/progmodes/grep.el +++ b/lisp/progmodes/grep.el | |||
| @@ -698,7 +698,9 @@ This function is called from `compilation-filter-hook'." | |||
| 698 | grep-hit-face) | 698 | grep-hit-face) |
| 699 | (set (make-local-variable 'compilation-error-regexp-alist) | 699 | (set (make-local-variable 'compilation-error-regexp-alist) |
| 700 | grep-regexp-alist) | 700 | grep-regexp-alist) |
| 701 | (set (make-local-variable 'compilation-directory-matcher) nil) | 701 | ;; compilation-directory-matcher can't be nil, so we set it to a regexp that |
| 702 | ;; can never match. | ||
| 703 | (set (make-local-variable 'compilation-directory-matcher) "\\`a\\`") | ||
| 702 | (set (make-local-variable 'compilation-process-setup-function) | 704 | (set (make-local-variable 'compilation-process-setup-function) |
| 703 | 'grep-process-setup) | 705 | 'grep-process-setup) |
| 704 | (set (make-local-variable 'compilation-disable-input) t) | 706 | (set (make-local-variable 'compilation-disable-input) t) |