To: vim-dev@vim.org Subject: Patch 6.1.185 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ------------ Patch 6.1.185 (depends on 6.1.182) Problem: Can't compile without +comments feature. Solution: Add #ifdef FEAT_COMMENTS. (Christian J. Robinson) Files: src/edit.c *** ../vim61.184/src/edit.c Mon Sep 16 22:00:32 2002 --- src/edit.c Tue Sep 17 21:16:28 2002 *************** *** 4252,4261 **** --- 4252,4263 ---- if (*old != NUL && pos.col == STRLEN(old) && vim_iswhite(old[pos.col - 1])) return; + #ifdef FEAT_COMMENTS /* With the 'c' flag in 'formatoptions' only format comments. */ if (has_format_option(FO_WRAP_COMS) && get_leader_len(old, NULL, FALSE) == 0) return; + #endif old = vim_strsave(old); format_lines((linenr_T)-1); *** ../vim61.184/src/version.c Mon Sep 16 22:00:32 2002 --- src/version.c Tue Sep 17 21:18:56 2002 *************** *** 608,609 **** --- 608,611 ---- { /* Add new patch number below this line */ + /**/ + 185, /**/ -- Every engineer dreams about saving the universe and having sex with aliens. This is much more glamorous than the real life of an engineer, which consists of hiding from the universe and having sex without the participation of other life forms. (Scott Adams - The Dilbert principle) /// Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net \\\ /// Creator of Vim - Vi IMproved -- http://www.vim.org \\\ \\\ Project leader for A-A-P -- http://www.a-a-p.org /// \\\ Lord Of The Rings helps Uganda - http://iccf-holland.org/lotr.html ///