dab938f
To: vim-dev@vim.org
dab938f
Subject: Patch 7.2.104
dab938f
Fcc: outbox
dab938f
From: Bram Moolenaar <Bram@moolenaar.net>
dab938f
Mime-Version: 1.0
dab938f
Content-Type: text/plain; charset=ISO-8859-1
dab938f
Content-Transfer-Encoding: 8bit
dab938f
------------
dab938f
dab938f
Patch 7.2.104
dab938f
Problem:    When using ":saveas bar.c" the tab label isn't updated right away.
dab938f
Solution:   Set redraw_tabline. (Francois Ingelrest)
dab938f
Files:      src/ex_cmds.c
dab938f
dab938f
dab938f
*** ../vim-7.2.103/src/ex_cmds.c	Wed Feb  4 13:13:42 2009
dab938f
--- src/ex_cmds.c	Wed Feb 11 15:58:06 2009
dab938f
***************
dab938f
*** 2707,2713 ****
dab938f
--- 2707,2718 ----
dab938f
  	if (eap->cmdidx == CMD_saveas)
dab938f
  	{
dab938f
  	    if (retval == OK)
dab938f
+ 	    {
dab938f
  		curbuf->b_p_ro = FALSE;
dab938f
+ #ifdef FEAT_WINDOWS
dab938f
+ 		redraw_tabline = TRUE;
dab938f
+ #endif
dab938f
+ 	    }
dab938f
  	    /* Change directories when the 'acd' option is set. */
dab938f
  	    DO_AUTOCHDIR
dab938f
  	}
dab938f
*** ../vim-7.2.103/src/version.c	Wed Feb 11 11:34:24 2009
dab938f
--- src/version.c	Wed Feb 11 16:02:19 2009
dab938f
***************
dab938f
*** 678,679 ****
dab938f
--- 678,681 ----
dab938f
  {   /* Add new patch number below this line */
dab938f
+ /**/
dab938f
+     104,
dab938f
  /**/
dab938f
dab938f
-- 
dab938f
hundred-and-one symptoms of being an internet addict:
dab938f
75. You start wondering whether you could actually upgrade your brain
dab938f
    with a Pentium Pro microprocessor 80.  The upgrade works just fine.
dab938f
dab938f
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
dab938f
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
dab938f
\\\        download, build and distribute -- http://www.A-A-P.org        ///
dab938f
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///