diff options
| author | Stefan Monnier | 2008-02-19 04:30:50 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2008-02-19 04:30:50 +0000 |
| commit | 57e828aed9db06cad943a34890644ea0b54dc9da (patch) | |
| tree | aa87f02968b11843f021170e3c882565ea66ef13 | |
| parent | 1b51154227ca5d91d97555c8349f523b7e3b5103 (diff) | |
| download | emacs-57e828aed9db06cad943a34890644ea0b54dc9da.tar.gz emacs-57e828aed9db06cad943a34890644ea0b54dc9da.zip | |
(gdb-output-sink): Define with an invalid value.
(gdb): Initialize it here instead.
| -rw-r--r-- | lisp/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/progmodes/gdb-ui.el | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 07fa73f582b..3916891fdac 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2008-02-19 Stefan Monnier <monnier@iro.umontreal.ca> | 1 | 2008-02-19 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 2 | ||
| 3 | * progmodes/gdb-ui.el (gdb-output-sink): Define with an invalid value. | ||
| 4 | (gdb): Initialize it here instead. | ||
| 5 | |||
| 3 | * files.el (locate-dominating-file): Fix thinko in last change. | 6 | * files.el (locate-dominating-file): Fix thinko in last change. |
| 4 | Reported by Bruce Stephens <bruce.stephens@isode.com>. | 7 | Reported by Bruce Stephens <bruce.stephens@isode.com>. |
| 5 | 8 | ||
diff --git a/lisp/progmodes/gdb-ui.el b/lisp/progmodes/gdb-ui.el index 0d3f364ff39..71d850a8b8c 100644 --- a/lisp/progmodes/gdb-ui.el +++ b/lisp/progmodes/gdb-ui.el | |||
| @@ -150,7 +150,7 @@ Emacs can't find.") | |||
| 150 | (defvar gdb-prompting nil | 150 | (defvar gdb-prompting nil |
| 151 | "True when gdb is idle with no pending input.") | 151 | "True when gdb is idle with no pending input.") |
| 152 | 152 | ||
| 153 | (defvar gdb-output-sink 'user | 153 | (defvar gdb-output-sink nil |
| 154 | "The disposition of the output of the current gdb command. | 154 | "The disposition of the output of the current gdb command. |
| 155 | Possible values are these symbols: | 155 | Possible values are these symbols: |
| 156 | 156 | ||
| @@ -317,6 +317,7 @@ session." | |||
| 317 | (local-set-key "\C-i" 'gud-gdb-complete-command) | 317 | (local-set-key "\C-i" 'gud-gdb-complete-command) |
| 318 | (setq comint-prompt-regexp "^(.*gdb[+]?) *") | 318 | (setq comint-prompt-regexp "^(.*gdb[+]?) *") |
| 319 | (setq paragraph-start comint-prompt-regexp) | 319 | (setq paragraph-start comint-prompt-regexp) |
| 320 | (setq gdb-output-sink 'user) | ||
| 320 | (setq gdb-first-prompt t) | 321 | (setq gdb-first-prompt t) |
| 321 | (setq gud-running nil) | 322 | (setq gud-running nil) |
| 322 | (setq gdb-ready nil) | 323 | (setq gdb-ready nil) |