From 034de736094efef953ce690ee825f86e2c356487 Mon Sep 17 00:00:00 2001 From: Nick Roberts Date: Mon, 29 Mar 2004 19:24:11 +0000 Subject: [PATCH] (gud-gdb-marker-filter): Include "\n" in regexp to detect the beginning of a level 2 or 3 annotation. --- lisp/progmodes/gud.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el index ff04c05edff..a34b0bb2d48 100644 --- a/lisp/progmodes/gud.el +++ b/lisp/progmodes/gud.el @@ -477,7 +477,7 @@ off the specialized speedbar mode." ;; gud-marker-acc until we receive the rest of it. Since we ;; know the full marker regexp above failed, it's pretty simple to ;; test for marker starts. - (if (string-match "\032.*\\'" gud-marker-acc) + (if (string-match "\n\\(\032.*\\)?\\'" gud-marker-acc) (progn ;; Everything before the potential marker start can be output. (setq output (concat output (substring gud-marker-acc -- 2.39.5