]>
Commit | Line | Data |
---|---|---|
9512a71a AG |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 7.2.104 | |
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.2.104 | |
11 | Problem: When using ":saveas bar.c" the tab label isn't updated right away. | |
12 | Solution: Set redraw_tabline. (Francois Ingelrest) | |
13 | Files: src/ex_cmds.c | |
14 | ||
15 | ||
16 | *** ../vim-7.2.103/src/ex_cmds.c Wed Feb 4 13:13:42 2009 | |
17 | --- src/ex_cmds.c Wed Feb 11 15:58:06 2009 | |
18 | *************** | |
19 | *** 2707,2713 **** | |
20 | --- 2707,2718 ---- | |
21 | if (eap->cmdidx == CMD_saveas) | |
22 | { | |
23 | if (retval == OK) | |
24 | + { | |
25 | curbuf->b_p_ro = FALSE; | |
26 | + #ifdef FEAT_WINDOWS | |
27 | + redraw_tabline = TRUE; | |
28 | + #endif | |
29 | + } | |
30 | /* Change directories when the 'acd' option is set. */ | |
31 | DO_AUTOCHDIR | |
32 | } | |
33 | *** ../vim-7.2.103/src/version.c Wed Feb 11 11:34:24 2009 | |
34 | --- src/version.c Wed Feb 11 16:02:19 2009 | |
35 | *************** | |
36 | *** 678,679 **** | |
37 | --- 678,681 ---- | |
38 | { /* Add new patch number below this line */ | |
39 | + /**/ | |
40 | + 104, | |
41 | /**/ | |
42 | ||
43 | -- | |
44 | hundred-and-one symptoms of being an internet addict: | |
45 | 75. You start wondering whether you could actually upgrade your brain | |
46 | with a Pentium Pro microprocessor 80. The upgrade works just fine. | |
47 | ||
48 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
49 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
50 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
51 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |