diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-06-05 22:33:42 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-06-05 22:33:42 +0200 |
commit | 002bc79991286934a9593b80635c27d4238cdfc4 (patch) | |
tree | 777b6a2574f8dfe4ac76552a0a8e44ba005e7961 /src/filepath.c | |
parent | 3fffa97159a427067b60c80ed4645e168cc5c4bd (diff) | |
download | vim-git-002bc79991286934a9593b80635c27d4238cdfc4.tar.gz |
patch 8.2.0909: cannot go back to the previous local directoryv8.2.0909
Problem: Cannot go back to the previous local directory.
Solution: Add "tcd -" and "lcd -". (Yegappan Lakshmanan, closes #4362)
Diffstat (limited to 'src/filepath.c')
-rw-r--r-- | src/filepath.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/filepath.c b/src/filepath.c index ad7b8b03d..8bc941d35 100644 --- a/src/filepath.c +++ b/src/filepath.c @@ -726,6 +726,7 @@ f_chdir(typval_T *argvars, typval_T *rettv) if (argvars[0].v_type != VAR_STRING) // Returning an empty string means it failed. + // No error message, for historic reasons. return; // Return the current directory |