81c2858
To: vim-dev@vim.org
81c2858
Subject: Patch 7.2.227
81c2858
Fcc: outbox
81c2858
From: Bram Moolenaar <Bram@moolenaar.net>
81c2858
Mime-Version: 1.0
81c2858
Content-Type: text/plain; charset=UTF-8
81c2858
Content-Transfer-Encoding: 8bit
81c2858
------------
81c2858
81c2858
Patch 7.2.227
81c2858
Problem:    When using ":cd" in a script there is no way to track this.
81c2858
Solution:   Display the directory when 'verbose' is 5 or higher.
81c2858
Files:	    src/ex_docmd.c
81c2858
81c2858
81c2858
*** ../vim-7.2.226/src/ex_docmd.c	2009-07-09 20:06:30.000000000 +0200
81c2858
--- src/ex_docmd.c	2009-07-09 15:24:03.000000000 +0200
81c2858
***************
81c2858
*** 7964,7970 ****
81c2858
  	    shorten_fnames(TRUE);
81c2858
  
81c2858
  	    /* Echo the new current directory if the command was typed. */
81c2858
! 	    if (KeyTyped)
81c2858
  		ex_pwd(eap);
81c2858
  	}
81c2858
  	vim_free(tofree);
81c2858
--- 7964,7970 ----
81c2858
  	    shorten_fnames(TRUE);
81c2858
  
81c2858
  	    /* Echo the new current directory if the command was typed. */
81c2858
! 	    if (KeyTyped || p_verbose >= 5)
81c2858
  		ex_pwd(eap);
81c2858
  	}
81c2858
  	vim_free(tofree);
81c2858
*** ../vim-7.2.226/src/version.c	2009-07-09 20:06:30.000000000 +0200
81c2858
--- src/version.c	2009-07-09 20:13:13.000000000 +0200
81c2858
***************
81c2858
*** 678,679 ****
81c2858
--- 678,681 ----
81c2858
  {   /* Add new patch number below this line */
81c2858
+ /**/
81c2858
+     227,
81c2858
  /**/
81c2858
81c2858
-- 
81c2858
hundred-and-one symptoms of being an internet addict:
81c2858
83. Batteries in the TV remote now last for months.
81c2858
81c2858
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
81c2858
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
81c2858
\\\        download, build and distribute -- http://www.A-A-P.org        ///
81c2858
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///