diff options
| author | Stefan Monnier | 2011-05-21 20:18:22 -0300 |
|---|---|---|
| committer | Stefan Monnier | 2011-05-21 20:18:22 -0300 |
| commit | b7cf2c79c7edb13f5d3eb07cc2494865d3e89b04 (patch) | |
| tree | 84228e372858a630702bbb84d12af4d4f24e886e /lisp/progmodes | |
| parent | 7e4ccca3454e6ef6ccaf14827f274647b2bf56e1 (diff) | |
| download | emacs-b7cf2c79c7edb13f5d3eb07cc2494865d3e89b04.tar.gz emacs-b7cf2c79c7edb13f5d3eb07cc2494865d3e89b04.zip | |
* lisp/progmodes/grep.el (grep-mode): Fix last change.
Fixes: debbugs:8684
Diffstat (limited to 'lisp/progmodes')
| -rw-r--r-- | lisp/progmodes/grep.el | 4 |
1 files changed, 3 insertions, 1 deletions
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) |