diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2011-05-21 20:18:22 -0300 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2011-05-21 20:18:22 -0300 |
commit | b7cf2c79c7edb13f5d3eb07cc2494865d3e89b04 (patch) | |
tree | 84228e372858a630702bbb84d12af4d4f24e886e /lisp/progmodes/grep.el | |
parent | 7e4ccca3454e6ef6ccaf14827f274647b2bf56e1 (diff) | |
download | emacs-b7cf2c79c7edb13f5d3eb07cc2494865d3e89b04.tar.gz |
* lisp/progmodes/grep.el (grep-mode): Fix last change.
Fixes: debbugs:8684
Diffstat (limited to 'lisp/progmodes/grep.el')
-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'." 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) |