]> code.delx.au - gnu-emacs/blobdiff - lisp/progmodes/grep.el
Add rx.el support for numbered groups (Bug#8776).
[gnu-emacs] / lisp / progmodes / grep.el
index 04b54b1d662520d3a308184b584d87134450b235..db8e82193b340fdd4c5c6061350cc618d766ef8f 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)