aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/progmodes/gud.el2
1 files changed, 1 insertions, 1 deletions
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."
477 ;; gud-marker-acc until we receive the rest of it. Since we 477 ;; gud-marker-acc until we receive the rest of it. Since we
478 ;; know the full marker regexp above failed, it's pretty simple to 478 ;; know the full marker regexp above failed, it's pretty simple to
479 ;; test for marker starts. 479 ;; test for marker starts.
480 (if (string-match "\032.*\\'" gud-marker-acc) 480 (if (string-match "\n\\(\032.*\\)?\\'" gud-marker-acc)
481 (progn 481 (progn
482 ;; Everything before the potential marker start can be output. 482 ;; Everything before the potential marker start can be output.
483 (setq output (concat output (substring gud-marker-acc 483 (setq output (concat output (substring gud-marker-acc