aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2011-05-21 20:18:22 -0300
committerStefan Monnier2011-05-21 20:18:22 -0300
commitb7cf2c79c7edb13f5d3eb07cc2494865d3e89b04 (patch)
tree84228e372858a630702bbb84d12af4d4f24e886e
parent7e4ccca3454e6ef6ccaf14827f274647b2bf56e1 (diff)
downloademacs-b7cf2c79c7edb13f5d3eb07cc2494865d3e89b04.tar.gz
emacs-b7cf2c79c7edb13f5d3eb07cc2494865d3e89b04.zip
* lisp/progmodes/grep.el (grep-mode): Fix last change.
Fixes: debbugs:8684
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/progmodes/grep.el4
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 @@
12011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
4
12011-05-21 Glenn Morris <rgm@gnu.org> 52011-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)