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.1.110 < prev    next >
Encoding:
Internet Message Format  |  2002-06-22  |  1.4 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.1.110
  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.1.110
  11. Problem:    When using ":badd file" when "file" is already present but not
  12.         listed, it stays unlisted. (David Frey)
  13. Solution:   Set 'buflisted'.
  14. Files:        src/buffer.c
  15.  
  16.  
  17. *** ../vim61.109/src/buffer.c    Sun Jun 23 13:05:10 2002
  18. --- src/buffer.c    Wed Jun 12 21:41:21 2002
  19. ***************
  20. *** 1247,1252 ****
  21. --- 1247,1260 ----
  22.       /* copy the options now, if 'cpo' doesn't have 's' and not done
  23.        * already */
  24.       buf_copy_options(buf, 0);
  25. +     if ((flags & BLN_LISTED) && !buf->b_p_bl)
  26. +     {
  27. +         buf->b_p_bl = TRUE;
  28. + #ifdef FEAT_AUTOCMD
  29. +         if (!(flags & BLN_DUMMY))
  30. +         apply_autocmds(EVENT_BUFADD, NULL, NULL, FALSE, buf);
  31. + #endif
  32. +     }
  33.       return buf;
  34.       }
  35.   
  36. *** ../vim61.109/src/version.c    Sun Jun 23 15:04:45 2002
  37. --- src/version.c    Sun Jun 23 15:09:22 2002
  38. ***************
  39. *** 608,609 ****
  40. --- 608,611 ----
  41.   {   /* Add new patch number below this line */
  42. + /**/
  43. +     110,
  44.   /**/
  45.  
  46. -- 
  47. Ten million Linux users can't be wrong!
  48.  
  49.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  50. ///   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   \\\
  51. \\\           Project leader for A-A-P -- http://www.a-a-p.org           ///
  52.  \\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///
  53.