forked from aniani/vim
patch 8.2.3933: after ":cd" fails ":cd -" is incorrect
Problem: After ":cd" fails ":cd -" is incorrect.
Solution: Set the previous directory only after successfully changing
directory. (Richard Doty, closes #9419, closes #8983)
This commit is contained in:
committed by
Bram Moolenaar
parent
264d3ddac0
commit
3d0abad5bf
@@ -749,6 +749,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
3933,
|
||||
/**/
|
||||
3932,
|
||||
/**/
|
||||
|
||||
Reference in New Issue
Block a user