Mercurial > vim
diff src/globals.h @ 26171:fa8161b003f6 v8.2.3617
patch 8.2.3617: ":verbose pwd" does not mention 'autochdir' was applied
Commit: https://github.com/vim/vim/commit/0526815c15170a5926e1008600ec29d42d8b64c2
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Nov 18 18:53:45 2021 +0000
patch 8.2.3617: ":verbose pwd" does not mention 'autochdir' was applied
Problem: ":verbose pwd" does not mention 'autochdir' was applied.
Solution: Remember the last chdir was done by 'autochdir'. (issue https://github.com/vim/vim/issues/9142)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 18 Nov 2021 20:00:06 +0100 |
parents | 92c424550367 |
children | ae947ebb4038 |
line wrap: on
line diff
--- a/src/globals.h +++ b/src/globals.h @@ -832,6 +832,7 @@ EXTERN int stdout_isatty INIT(= TRUE); / #if defined(FEAT_AUTOCHDIR) EXTERN int test_autochdir INIT(= FALSE); #endif +EXTERN char *last_chdir_reason INIT(= NULL); #if defined(EXITFREE) EXTERN int entered_free_all_mem INIT(= FALSE); // TRUE when in or after free_all_mem()