Index: emacs/src/w32fns.c
diff -c emacs/src/w32fns.c:1.248 emacs/src/w32fns.c:1.249
*** emacs/src/w32fns.c:1.248    Fri Jun 10 23:03:28 2005
--- emacs/src/w32fns.c  Sun Jun 12 10:41:05 2005
***************
*** 8894,8917 ****
  
  #undef abort
  
  void
  w32_abort()
  {
    int button;
    button = MessageBox (NULL,
                       "A fatal error has occurred!\n\n"
!                      "Select Abort to exit, Retry to debug, Ignore to 
continue",
                       "Emacs Abort Dialog",
                       MB_ICONEXCLAMATION | MB_TASKMODAL
!                      | MB_SETFOREGROUND | MB_ABORTRETRYIGNORE);
    switch (button)
      {
!     case IDRETRY:
        DebugBreak ();
!       break;
!     case IDIGNORE:
!       break;
!     case IDABORT:
      default:
        abort ();
        break;
--- 8894,8918 ----
  
  #undef abort
  
+ void w32_abort (void) NO_RETURN;
+ 
  void
  w32_abort()
  {
    int button;
    button = MessageBox (NULL,
                       "A fatal error has occurred!\n\n"
!                      "Would you like to attach a debugger?\n\n"
!                      "Select YES to debug, NO to abort Emacs",
                       "Emacs Abort Dialog",
                       MB_ICONEXCLAMATION | MB_TASKMODAL
!                      | MB_SETFOREGROUND | MB_YESNO);
    switch (button)
      {
!     case IDYES:
        DebugBreak ();
!       exit (2);       /* tell the compiler we will never return */
!     case IDNO:
      default:
        abort ();
        break;


_______________________________________________
Emacs-diffs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-diffs

Reply via email to