To: vim-dev@vim.org Subject: Patch 6.1.407 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ------------ Patch 6.1.407 Problem: ":set scrollbind | help" scrollbinds the help window. (Andrew Pimlott) Solution: Reset 'scrollbind' when opening a help window. Files: src/ex_cmds.c *** ../vim61.406/src/ex_cmds.c Sat Mar 15 16:36:06 2003 --- src/ex_cmds.c Sun Mar 16 21:26:00 2003 *************** *** 2776,2781 **** --- 2776,2784 ---- curbuf->b_p_ma = FALSE; curbuf->b_p_bin = FALSE; /* reset 'bin' before reading file */ curwin->w_p_nu = 0; /* no line numbers */ + #ifdef FEAT_SCROLLBIND + curwin->w_p_scb = FALSE; /* no scroll binding */ + #endif #ifdef FEAT_RIGHTLEFT curwin->w_p_rl = 0; /* help window is left-to-right */ #endif *** ../vim61.406/src/version.c Sat Mar 15 22:05:44 2003 --- src/version.c Sun Mar 16 21:27:13 2003 *************** *** 613,614 **** --- 613,616 ---- { /* Add new patch number below this line */ + /**/ + 407, /**/ -- From "know your smileys": 8<}} Glasses, big nose, beard /// 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 ///