From 79106a44d30dd3ec15a5bdd653b1d1911fe05ff7 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Sun, 22 May 2011 14:19:24 -0300 Subject: [PATCH] * lisp/progmodes/grep.el (grep-mode): Fix it for good! Fixes: debbugs:8684 --- lisp/ChangeLog | 4 ++++ lisp/progmodes/grep.el | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 91c51b7925d..a759eb749ef 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2011-05-22 Stefan Monnier + + * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)! + 2011-05-22 Glenn Morris * files.el (hack-local-variables-prop-line): Small simplifications. diff --git a/lisp/progmodes/grep.el b/lisp/progmodes/grep.el index 04b54b1d662..db8e82193b3 100644 --- a/lisp/progmodes/grep.el +++ b/lisp/progmodes/grep.el @@ -700,7 +700,7 @@ This function is called from `compilation-filter-hook'." grep-regexp-alist) ;; 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-directory-matcher) '("\\`a\\`")) (set (make-local-variable 'compilation-process-setup-function) 'grep-process-setup) (set (make-local-variable 'compilation-disable-input) t) -- 2.39.2