aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/progmodes')
-rw-r--r--lisp/progmodes/grep.el4
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)