Patch 7.2a.019 Problem: ":let &g:tw = 44" sets the local option value. (Cyril Slobin) Solution: Use get_varp_scope() instead of get_varp(). (Ian Kelling) Files: src/option.c
*** ../vim-7.2a.018/src/option.c Tue Jun 24 23:59:40 2008 --- src/option.c Sat Jul 5 16:24:25 2008 *************** *** 8222,8228 **** set_string_option(opt_idx, string, opt_flags); else { ! varp = get_varp(&options[opt_idx]); if (varp != NULL) /* hidden option is not changed */ { if (number == 0 && string != NULL) --- 8222,8228 ---- set_string_option(opt_idx, string, opt_flags); else { ! varp = get_varp_scope(&(options[opt_idx]), opt_flags); if (varp != NULL) /* hidden option is not changed */ { if (number == 0 && string != NULL) *** ../vim-7.2a.018/src/version.c Tue Jul 8 12:45:09 2008 --- src/version.c Tue Jul 8 17:13:22 2008 *************** *** 678,679 **** --- 678,681 ---- { /* Add new patch number below this line */ + /**/ + 19, /**/ -- A computer program does what you tell it to do, not what you want it to do. /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ download, build and distribute -- http://www.A-A-P.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---