diff lisp/progmodes/compile.el @ 36108:8b657bbc6608

(grep-regexp-alist): Remove the blank from the character class after the (optional) drive, to support file names with embedded blanks.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 16 Feb 2001 11:51:01 +0000
parents 98dd828601f2
children 2f0cd80341f8
line wrap: on
line diff
--- a/lisp/progmodes/compile.el	Fri Feb 16 09:55:39 2001 +0000
+++ b/lisp/progmodes/compile.el	Fri Feb 16 11:51:01 2001 +0000
@@ -397,8 +397,10 @@
   :type 'boolean
   :group 'compilation)
 
+;; Note: the character class after the optional drive letter does not
+;; include a space to support file names with blanks.
 (defvar grep-regexp-alist
-  '(("\\([a-zA-Z]?:?[^:( \t\n]+\\)[:( \t]+\\([0-9]+\\)[:) \t]" 1 2))
+  '(("\\([a-zA-Z]?:?[^:(\t\n]+\\)[:( \t]+\\([0-9]+\\)[:) \t]" 1 2))
   "Regexp used to match grep hits.  See `compilation-error-regexp-alist'.")
 
 (defvar grep-program