summaryrefslogtreecommitdiffstats
path: root/vi/vim-7.2/7.2.104
blob: 51c0e097d7e30ec429f07a4285b79cd52e907d46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
To: vim-dev@vim.org
Subject: Patch 7.2.104
Fcc: outbox
From: Bram Moolenaar <Bram@moolenaar.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
------------

Patch 7.2.104
Problem:    When using ":saveas bar.c" the tab label isn't updated right away.
Solution:   Set redraw_tabline. (Francois Ingelrest)
Files:      src/ex_cmds.c


*** ../vim-7.2.103/src/ex_cmds.c	Wed Feb  4 13:13:42 2009
--- src/ex_cmds.c	Wed Feb 11 15:58:06 2009
***************
*** 2707,2713 ****
--- 2707,2718 ----
  	if (eap->cmdidx == CMD_saveas)
  	{
  	    if (retval == OK)
+ 	    {
  		curbuf->b_p_ro = FALSE;
+ #ifdef FEAT_WINDOWS
+ 		redraw_tabline = TRUE;
+ #endif
+ 	    }
  	    /* Change directories when the 'acd' option is set. */
  	    DO_AUTOCHDIR
  	}
*** ../vim-7.2.103/src/version.c	Wed Feb 11 11:34:24 2009
--- src/version.c	Wed Feb 11 16:02:19 2009
***************
*** 678,679 ****
--- 678,681 ----
  {   /* Add new patch number below this line */
+ /**/
+     104,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
75. You start wondering whether you could actually upgrade your brain
    with a Pentium Pro microprocessor 80.  The upgrade works just fine.

 /// Bram Moolenaar -- Bram@Moolenaar.net -- 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    ///