[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 9df0b8d: Fix bug in gud-gdb-marker-filter: first ma
From: |
Stephen Leake |
Subject: |
[Emacs-diffs] master 9df0b8d: Fix bug in gud-gdb-marker-filter: first marker does not start with \n |
Date: |
Wed, 3 Apr 2019 13:26:01 -0400 (EDT) |
branch: master
commit 9df0b8d166a3b3805c20e10885f15f9e35de7ec6
Author: Stephen Leake <address@hidden>
Commit: Stephen Leake <address@hidden>
Fix bug in gud-gdb-marker-filter: first marker does not start with \n
---
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 92f5205..4306f5d 100644
--- a/lisp/progmodes/gud.el
+++ b/lisp/progmodes/gud.el
@@ -678,7 +678,7 @@ The option \"--fullname\" must be included in this value."
;; 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 "\n\\(\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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 9df0b8d: Fix bug in gud-gdb-marker-filter: first marker does not start with \n,
Stephen Leake <=