summaryrefslogtreecommitdiffstats
path: root/src/globals.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-11-18 18:53:45 +0000
committerBram Moolenaar <Bram@vim.org>2021-11-18 18:53:45 +0000
commit0526815c15170a5926e1008600ec29d42d8b64c2 (patch)
treecb743f2c7be21b9cbf5f711144018539f6e313ee /src/globals.h
parent3cad47038547e694cfa26ba39c399f610d2054bd (diff)
patch 8.2.3617: ":verbose pwd" does not mention 'autochdir' was appliedv8.2.3617
Problem: ":verbose pwd" does not mention 'autochdir' was applied. Solution: Remember the last chdir was done by 'autochdir'. (issue #9142)
Diffstat (limited to 'src/globals.h')
-rw-r--r--src/globals.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/globals.h b/src/globals.h
index 5c54130ebd..90998d8752 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -832,6 +832,7 @@ EXTERN int stdout_isatty INIT(= TRUE); // is stdout a terminal?
#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()