diff lisp/progmodes/gdb-ui.el @ 91950:d758efc0f23f

(gdb-output-sink): Define with an invalid value. (gdb): Initialize it here instead.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Tue, 19 Feb 2008 04:30:50 +0000
parents 79ba128d9b58
children f991f10f15ec
line wrap: on
line diff
--- a/lisp/progmodes/gdb-ui.el	Tue Feb 19 04:03:01 2008 +0000
+++ b/lisp/progmodes/gdb-ui.el	Tue Feb 19 04:30:50 2008 +0000
@@ -150,7 +150,7 @@
 (defvar gdb-prompting nil
   "True when gdb is idle with no pending input.")
 
-(defvar gdb-output-sink 'user
+(defvar gdb-output-sink nil
   "The disposition of the output of the current gdb command.
 Possible values are these symbols:
 
@@ -317,6 +317,7 @@
   (local-set-key "\C-i" 'gud-gdb-complete-command)
   (setq comint-prompt-regexp "^(.*gdb[+]?) *")
   (setq paragraph-start comint-prompt-regexp)
+  (setq gdb-output-sink 'user)
   (setq gdb-first-prompt t)
   (setq gud-running nil)
   (setq gdb-ready nil)