diff options
| author | Karoly Lorentey | 2006-04-01 13:24:42 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2006-04-01 13:24:42 +0000 |
| commit | 10a0e6fe87378d0dafb5ce257aa60c8a1b25c708 (patch) | |
| tree | db6f6272d381d3ca09c783cea7f5f3aaf8fafc99 /src/print.c | |
| parent | 6bcc8ec7eb185314e1b24f285fdcc1e7093c1bc1 (diff) | |
| parent | afc749959d78f5b48b92de877067828d46c915ce (diff) | |
| download | emacs-10a0e6fe87378d0dafb5ce257aa60c8a1b25c708.tar.gz emacs-10a0e6fe87378d0dafb5ce257aa60c8a1b25c708.zip | |
Merged from emacs@sv.gnu.org
Patches applied:
* emacs@sv.gnu.org/emacs--devo--0--patch-173
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-174
Merge from gnus--rel--5.10
* emacs@sv.gnu.org/emacs--devo--0--patch-175
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-176
Merge from gnus--rel--5.10
* emacs@sv.gnu.org/emacs--devo--0--patch-177
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-178
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-179
Update from erc--emacs--0
* emacs@sv.gnu.org/emacs--devo--0--patch-180
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-181
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-182
Merge from gnus--rel--5.10
* emacs@sv.gnu.org/emacs--devo--0--patch-183
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-184
Merge from gnus--rel--5.10
* emacs@sv.gnu.org/emacs--devo--0--patch-185
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-186
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-187
Merge from gnus--rel--5.10
* emacs@sv.gnu.org/gnus--rel--5.10--patch-65
Update from CVS
* emacs@sv.gnu.org/gnus--rel--5.10--patch-66
Update from CVS
* emacs@sv.gnu.org/gnus--rel--5.10--patch-67
Update from CVS
* emacs@sv.gnu.org/gnus--rel--5.10--patch-68
Update from CVS
* emacs@sv.gnu.org/gnus--rel--5.10--patch-69
Update from CVS
* emacs@sv.gnu.org/gnus--rel--5.10--patch-70
Update from CVS
* emacs@sv.gnu.org/gnus--rel--5.10--patch-71
Update from CVS
* emacs@sv.gnu.org/gnus--rel--5.10--patch-72
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-542
Diffstat (limited to 'src/print.c')
| -rw-r--r-- | src/print.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/print.c b/src/print.c index 28e9e86177e..7e9ed30c32b 100644 --- a/src/print.c +++ b/src/print.c | |||
| @@ -182,6 +182,9 @@ static int max_print; | |||
| 182 | 182 | ||
| 183 | void print_interval (); | 183 | void print_interval (); |
| 184 | 184 | ||
| 185 | /* GDB resets this to zero on W32 to disable OutputDebugString calls. */ | ||
| 186 | int print_output_debug_flag = 1; | ||
| 187 | |||
| 185 | 188 | ||
| 186 | /* Low level output routines for characters and strings */ | 189 | /* Low level output routines for characters and strings */ |
| 187 | 190 | ||
| @@ -909,10 +912,11 @@ to make it write to the debugging output. */) | |||
| 909 | 912 | ||
| 910 | #ifdef WINDOWSNT | 913 | #ifdef WINDOWSNT |
| 911 | /* Send the output to a debugger (nothing happens if there isn't one). */ | 914 | /* Send the output to a debugger (nothing happens if there isn't one). */ |
| 912 | { | 915 | if (print_output_debug_flag) |
| 913 | char buf[2] = {(char) XINT (character), '\0'}; | 916 | { |
| 914 | OutputDebugString (buf); | 917 | char buf[2] = {(char) XINT (character), '\0'}; |
| 915 | } | 918 | OutputDebugString (buf); |
| 919 | } | ||
| 916 | #endif | 920 | #endif |
| 917 | 921 | ||
| 918 | return character; | 922 | return character; |