]>
Commit | Line | Data |
---|---|---|
1242c4cb AG |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 7.0.043 | |
3 | Fcc: outbox | |
4 | From: Bram Moolenaar <Bram@moolenaar.net> | |
5 | Mime-Version: 1.0 | |
6 | Content-Type: text/plain; charset=ISO-8859-1 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ------------ | |
9 | ||
10 | Patch 7.0.043 | |
11 | Problem: Using "%!" at the start of 'statusline' doesn't work. | |
12 | Solution: Recognize the special item when the option is being set. | |
13 | Files: src/option.c | |
14 | ||
15 | ||
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 | |
18 | *************** | |
19 | *** 6325,6331 **** | |
20 | else | |
21 | errmsg = check_stl_option(p_ruf); | |
22 | } | |
23 | ! else | |
24 | errmsg = check_stl_option(s); | |
25 | if (varp == &p_ruf && errmsg == NULL) | |
26 | comp_col(); | |
27 | --- 6325,6332 ---- | |
28 | else | |
29 | errmsg = check_stl_option(p_ruf); | |
30 | } | |
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) | |
35 | comp_col(); | |
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 | |
38 | *************** | |
39 | *** 668,669 **** | |
40 | --- 668,671 ---- | |
41 | { /* Add new patch number below this line */ | |
42 | + /**/ | |
43 | + 43, | |
44 | /**/ | |
45 | ||
46 | -- | |
47 | There's no place like $(HOME)! | |
48 | ||
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 /// |