mirror of
https://github.com/zoriya/vim.git
synced 2025-12-21 14:45:17 +00:00
patch 8.1.1291: not easy to change directory and restore
Problem: Not easy to change directory and restore. Solution: Add the chdir() function. (Yegappan Lakshmanan, closes #4358)
This commit is contained in:
@@ -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())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user