diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/w32fns.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/w32fns.c b/src/w32fns.c index 457599fce0e..bf3c1d5d303 100644 --- a/src/w32fns.c +++ b/src/w32fns.c | |||
| @@ -10708,6 +10708,11 @@ default value t means to add the width of one canonical character of the | |||
| 10708 | tip frame. */); | 10708 | tip frame. */); |
| 10709 | Vw32_tooltip_extra_pixels = Qt; | 10709 | Vw32_tooltip_extra_pixels = Qt; |
| 10710 | 10710 | ||
| 10711 | DEFVAR_BOOL ("w32-disable-abort-dialog", | ||
| 10712 | w32_disable_abort_dialog, | ||
| 10713 | doc: /* Non-nil means don't display the abort dialog when aborting. */); | ||
| 10714 | w32_disable_abort_dialog = 0; | ||
| 10715 | |||
| 10711 | #if 0 /* TODO: Port to W32 */ | 10716 | #if 0 /* TODO: Port to W32 */ |
| 10712 | defsubr (&Sx_change_window_property); | 10717 | defsubr (&Sx_change_window_property); |
| 10713 | defsubr (&Sx_delete_window_property); | 10718 | defsubr (&Sx_delete_window_property); |
| @@ -10902,6 +10907,9 @@ w32_backtrace (void **buffer, int limit) | |||
| 10902 | void | 10907 | void |
| 10903 | emacs_abort (void) | 10908 | emacs_abort (void) |
| 10904 | { | 10909 | { |
| 10910 | if (w32_disable_abort_dialog) | ||
| 10911 | abort (); | ||
| 10912 | |||
| 10905 | int button; | 10913 | int button; |
| 10906 | button = MessageBox (NULL, | 10914 | button = MessageBox (NULL, |
| 10907 | "A fatal error has occurred!\n\n" | 10915 | "A fatal error has occurred!\n\n" |