]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/progmodes/grep.el (grep-mode): Fix last change.
authorStefan Monnier <monnier@iro.umontreal.ca>
Sat, 21 May 2011 23:18:22 +0000 (20:18 -0300)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sat, 21 May 2011 23:18:22 +0000 (20:18 -0300)
Fixes: debbugs:8684
lisp/ChangeLog
lisp/progmodes/grep.el

index a5af20b109b40de14cf8dfe20f8c893936ac1a8d..a1ec897b2e2c87e92b7a7bb54fbdb1cd33877076 100644 (file)
@@ -1,3 +1,7 @@
+2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
+
 2011-05-21  Glenn Morris  <rgm@gnu.org>
 
        * files.el (hack-local-variables-prop-line, hack-local-variables):
index 3b819a149b2958a2d66147f6b46b185a0dfac8fc..04b54b1d662520d3a308184b584d87134450b235 100644 (file)
@@ -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)