aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/compile.el
diff options
context:
space:
mode:
authorEli Zaretskii <[email protected]>2001-02-16 11:52:52 +0000
committerEli Zaretskii <[email protected]>2001-02-16 11:52:52 +0000
commit0d140e65afcce8472e34189a6db8036a1a481a3a (patch)
treeaecb1f042c881e4dd909f70ca58a5515e56e8f21 /lisp/progmodes/compile.el
parent76846b315db4183c4aeae6fd7be5223290700010 (diff)
(grep-regexp-alist): Remove the blank from
the character class after the (optional) drive, to support file names with embedded blanks.
Diffstat (limited to 'lisp/progmodes/compile.el')
-rw-r--r--lisp/progmodes/compile.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index 2f33166e1f..7bb976d165 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -397,8 +397,10 @@ Otherwise, it saves all modified buffers without asking."
: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