home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 6.2.201 < prev    next >
Encoding:
Internet Message Format  |  2004-01-24  |  2.3 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.2.201
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. Mime-Version: 1.0
  6. Content-Type: text/plain; charset=ISO-8859-1
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 6.2.201
  11. Problem:    When 'autowriteall' is set ":qall" still refuses to exit if there
  12.         is a modified buffer. (Antoine Mechelynck)
  13. Solution:   Attempt writing modified buffers as intended.
  14. Files:        src/ex_cmds2.c
  15.  
  16.  
  17. *** ../vim-6.2.200/src/ex_cmds2.c    Wed Nov 12 20:50:01 2003
  18. --- src/ex_cmds2.c    Wed Jan 21 16:57:12 2004
  19. ***************
  20. *** 876,885 ****
  21.       win_T    *wp;
  22.   #endif
  23.   
  24. - #if defined(FEAT_GUI_DIALOG) || defined(FEAT_CON_DIALOG)
  25.       for (;;)
  26.       {
  27. - #endif
  28.       /* check curbuf first: if it was changed we can't abandon it */
  29.       if (!hidden && curbufIsChanged())
  30.           buf = curbuf;
  31. --- 876,883 ----
  32. ***************
  33. *** 892,907 ****
  34.       if (buf == NULL)    /* No buffers changed */
  35.           return FALSE;
  36.   
  37. ! #if defined(FEAT_GUI_DIALOG) || defined(FEAT_CON_DIALOG)
  38. !     if (p_confirm || cmdmod.confirm)
  39. !     {
  40. !         if (check_changed(buf, p_awa, TRUE, FALSE, TRUE) && buf_valid(buf))
  41. !         break;        /* didn't save - still changes */
  42. !     }
  43. !     else
  44. !         break;        /* confirm not active - has changes */
  45.       }
  46. - #endif
  47.   
  48.       exiting = FALSE;
  49.   #if defined(FEAT_GUI_DIALOG) || defined(FEAT_CON_DIALOG)
  50. --- 890,898 ----
  51.       if (buf == NULL)    /* No buffers changed */
  52.           return FALSE;
  53.   
  54. !     if (check_changed(buf, p_awa, TRUE, FALSE, TRUE) && buf_valid(buf))
  55. !         break;        /* didn't save - still changes */
  56.       }
  57.   
  58.       exiting = FALSE;
  59.   #if defined(FEAT_GUI_DIALOG) || defined(FEAT_CON_DIALOG)
  60. *** ../vim-6.2.200/src/version.c    Sun Jan 25 19:45:13 2004
  61. --- src/version.c    Sun Jan 25 19:54:00 2004
  62. ***************
  63. *** 639,640 ****
  64. --- 639,642 ----
  65.   {   /* Add new patch number below this line */
  66. + /**/
  67. +     201,
  68.   /**/
  69.  
  70. -- 
  71.    Another bucket of what can only be described as human ordure hits ARTHUR.
  72. ARTHUR: ... Right!  (to the KNIGHTS) That settles it!
  73.                  "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
  74.  
  75.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  76. ///        Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  77. \\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
  78.  \\\  Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html  ///
  79.