4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: Using "%!" at the start of 'statusline' doesn't work.
12 Solution: Recognize the special item when the option is being set.
16 *** ../vim-7.0.042/src/option.c Sat May 13 14:41:15 2006
17 --- src/option.c Mon Jul 10 22:41:20 2006
21 errmsg = check_stl_option(p_ruf);
24 errmsg = check_stl_option(s);
25 if (varp == &p_ruf && errmsg == NULL)
29 errmsg = check_stl_option(p_ruf);
31 ! /* check 'statusline' only if it doesn't start with "%!" */
32 ! else if (varp != &p_stl || s[0] != '%' || s[1] != '!')
33 errmsg = check_stl_option(s);
34 if (varp == &p_ruf && errmsg == NULL)
36 *** ../vim-7.0.042/src/version.c Sun Jul 23 22:37:29 2006
37 --- src/version.c Tue Aug 8 16:29:24 2006
41 { /* Add new patch number below this line */
47 There's no place like $(HOME)!
49 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
50 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
51 \\\ download, build and distribute -- http://www.A-A-P.org ///
52 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///