diff lisp/eterm/tgud.el @ 4:b82b59fe008d r19-15b3

Import from CVS: tag r19-15b3
author cvs
date Mon, 13 Aug 2007 08:46:56 +0200
parents 376386a54a3c
children 131b0175ea99
line wrap: on
line diff
--- a/lisp/eterm/tgud.el	Mon Aug 13 08:46:35 2007 +0200
+++ b/lisp/eterm/tgud.el	Mon Aug 13 08:46:56 2007 +0200
@@ -285,7 +285,7 @@
 ;; output of GDB up to the next prompt and build the completion list.
 (defun tgud-gdb-complete-filter (string)
   (setq string (concat tgud-gdb-complete-string string))
-  (while (string-match "\n" string)
+  (while (string-match "\r?\n" string)
     (setq tgud-gdb-complete-list
 	  (cons (substring string tgud-gdb-complete-break (match-beginning 0))
 		tgud-gdb-complete-list))