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