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.185 < prev    next >
Encoding:
Internet Message Format  |  2002-09-16  |  1.7 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.1.185
  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.185 (depends on 6.1.182)
  11. Problem:    Can't compile without +comments feature.
  12. Solution:   Add #ifdef FEAT_COMMENTS. (Christian J. Robinson)
  13. Files:        src/edit.c
  14.  
  15.  
  16. *** ../vim61.184/src/edit.c    Mon Sep 16 22:00:32 2002
  17. --- src/edit.c    Tue Sep 17 21:16:28 2002
  18. ***************
  19. *** 4252,4261 ****
  20. --- 4252,4263 ----
  21.       if (*old != NUL && pos.col == STRLEN(old) && vim_iswhite(old[pos.col - 1]))
  22.       return;
  23.   
  24. + #ifdef FEAT_COMMENTS
  25.       /* With the 'c' flag in 'formatoptions' only format comments. */
  26.       if (has_format_option(FO_WRAP_COMS)
  27.                        && get_leader_len(old, NULL, FALSE) == 0)
  28.       return;
  29. + #endif
  30.   
  31.       old = vim_strsave(old);
  32.       format_lines((linenr_T)-1);
  33. *** ../vim61.184/src/version.c    Mon Sep 16 22:00:32 2002
  34. --- src/version.c    Tue Sep 17 21:18:56 2002
  35. ***************
  36. *** 608,609 ****
  37. --- 608,611 ----
  38.   {   /* Add new patch number below this line */
  39. + /**/
  40. +     185,
  41.   /**/
  42.  
  43. -- 
  44. Every engineer dreams about saving the universe and having sex with aliens.
  45. This is much more glamorous than the real life of an engineer, which consists
  46. of hiding from the universe and having sex without the participation of other
  47. life forms.
  48.                 (Scott Adams - The Dilbert principle)
  49.  
  50.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  51. ///          Creator of Vim - Vi IMproved -- http://www.vim.org          \\\
  52. \\\           Project leader for A-A-P -- http://www.a-a-p.org           ///
  53.  \\\ Lord Of The Rings helps Uganda - http://iccf-holland.org/lotr.html ///
  54.