0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.0093

This commit is contained in:
Bram Moolenaar
2005-06-25 22:49:46 +00:00
parent 29a1c1d374
commit ea408854a8
11 changed files with 329 additions and 85 deletions

View File

@@ -7215,6 +7215,17 @@ ex_read(eap)
}
}
static char_u *prev_dir = NULL;
#if defined(EXITFREE) || defined(PROTO)
void
free_cd_dir()
{
vim_free(prev_dir);
}
#endif
/*
* ":cd", ":lcd", ":chdir" and ":lchdir".
*/
@@ -7222,7 +7233,6 @@ ex_read(eap)
ex_cd(eap)
exarg_T *eap;
{
static char_u *prev_dir = NULL;
char_u *new_dir;
char_u *tofree;