1
0
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:
Richard Doty
2021-12-29 14:39:08 +00:00
committed by Bram Moolenaar
parent 264d3ddac0
commit 3d0abad5bf
3 changed files with 25 additions and 14 deletions

View File

@@ -749,6 +749,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
3933,
/**/
3932,
/**/