diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-05-07 22:06:52 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-05-07 22:06:52 +0200 |
commit | 1063f3d2008f22d02ccfa9dab83a23db52febbdc (patch) | |
tree | ed4a5e7fddc01bdf2abb1d0d7931010c724d4ac5 /src/if_py_both.h | |
parent | fd31e45e4bccd7070d02e4d20bcab1f45b271600 (diff) |
patch 8.1.1291: not easy to change directory and restorev8.1.1291
Problem: Not easy to change directory and restore.
Solution: Add the chdir() function. (Yegappan Lakshmanan, closes #4358)
Diffstat (limited to 'src/if_py_both.h')
-rw-r--r-- | src/if_py_both.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/if_py_both.h b/src/if_py_both.h index ede2f5cde4..498972d548 100644 --- a/src/if_py_both.h +++ b/src/if_py_both.h @@ -1032,7 +1032,7 @@ _VimChdir(PyObject *_chdir, PyObject *args, PyObject *kwargs) Py_DECREF(newwd); Py_XDECREF(todecref); - post_chdir(FALSE, FALSE); + post_chdir(CDSCOPE_GLOBAL); if (VimTryEnd()) { |