* lisp/progmodes/grep.el (grep-mode): Fix it for good!
authorStefan Monnier <monnier@iro.umontreal.ca>
Sun, 22 May 2011 17:19:24 +0000 (14:19 -0300)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sun, 22 May 2011 17:19:24 +0000 (14:19 -0300)
Fixes: debbugs:8684

lisp/ChangeLog
lisp/progmodes/grep.el

index 91c51b7..a759eb7 100644 (file)
@@ -1,3 +1,7 @@
+2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
+
 2011-05-22  Glenn Morris  <rgm@gnu.org>
 
        * files.el (hack-local-variables-prop-line): Small simplifications.
index 04b54b1..db8e821 100644 (file)
@@ -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)