summaryrefslogtreecommitdiffstats
path: root/src/filepath.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-06-05 22:33:42 +0200
committerBram Moolenaar <Bram@vim.org>2020-06-05 22:33:42 +0200
commit002bc79991286934a9593b80635c27d4238cdfc4 (patch)
tree777b6a2574f8dfe4ac76552a0a8e44ba005e7961 /src/filepath.c
parent3fffa97159a427067b60c80ed4645e168cc5c4bd (diff)
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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/filepath.c b/src/filepath.c
index ad7b8b03d4..8bc941d354 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