To: vim-dev@vim.org Subject: Patch 6.1.331 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ------------ Patch 6.1.331 Problem: When translating the help files, "LOCAL ADDITIONS" no longer marks the spot where help files from plugins are to be listed. Solution: Add a "local-additions" tag and use that to find the right spot. Files: runtime/doc/help.txt, src/ex_cmds.c *** ../vim61.330/runtime/doc/help.txt Fri Mar 22 21:18:37 2002 --- runtime/doc/help.txt Thu Feb 13 20:44:45 2003 *************** *** 1,4 **** ! *help.txt* For Vim version 6.1. Last change: 2001 Sep 14 VIM - main help file k --- 1,4 ---- ! *help.txt* For Vim version 6.1. Last change: 2003 Feb 13 VIM - main help file k *************** *** 181,187 **** |pi_gzip.txt| Reading and writing compressed files |pi_expl.txt| File explorer ! LOCAL ADDITIONS: ------------------------------------------------------------------------------ *bars* Bars example --- 182,188 ---- |pi_gzip.txt| Reading and writing compressed files |pi_expl.txt| File explorer ! LOCAL ADDITIONS: *local-additions* ------------------------------------------------------------------------------ *bars* Bars example *** ../vim61.330/src/ex_cmds.c Tue Feb 4 22:33:39 2003 --- src/ex_cmds.c Thu Feb 13 16:46:26 2003 *************** *** 4855,4861 **** for (lnum = 1; lnum < curbuf->b_ml.ml_line_count; ++lnum) { line = ml_get_buf(curbuf, lnum, FALSE); ! if (STRNCMP(line, "LOCAL ADDITIONS", 15) == 0) { /* Go through all directories in 'runtimepath', skipping * $VIMRUNTIME. */ --- 4865,4871 ---- for (lnum = 1; lnum < curbuf->b_ml.ml_line_count; ++lnum) { line = ml_get_buf(curbuf, lnum, FALSE); ! if (strstr((char *)line, "*local-additions*") != NULL) { /* Go through all directories in 'runtimepath', skipping * $VIMRUNTIME. */ *** ../vim61.330/src/version.c Sun Feb 16 22:13:38 2003 --- src/version.c Sun Feb 16 22:14:53 2003 *************** *** 608,609 **** --- 612,615 ---- { /* Add new patch number below this line */ + /**/ + 331, /**/ -- hundred-and-one symptoms of being an internet addict: 10E. You start counting in hex. /// 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 /// \\\ Help AIDS victims, buy at Amazon -- http://ICCF.nl/click1.html ///