From: Nick Roberts Date: Mon, 29 Mar 2004 19:24:11 +0000 (+0000) Subject: (gud-gdb-marker-filter): Include "\n" in regexp X-Git-Tag: ttn-vms-21-2-B4~7027 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=034de736094efef953ce690ee825f86e2c356487;p=emacs.git (gud-gdb-marker-filter): Include "\n" in regexp to detect the beginning of a level 2 or 3 annotation. --- 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