Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
26170:3e5f506a2165 | 26171:fa8161b003f6 |
---|---|
830 EXTERN int stdout_isatty INIT(= TRUE); // is stdout a terminal? | 830 EXTERN int stdout_isatty INIT(= TRUE); // is stdout a terminal? |
831 | 831 |
832 #if defined(FEAT_AUTOCHDIR) | 832 #if defined(FEAT_AUTOCHDIR) |
833 EXTERN int test_autochdir INIT(= FALSE); | 833 EXTERN int test_autochdir INIT(= FALSE); |
834 #endif | 834 #endif |
835 EXTERN char *last_chdir_reason INIT(= NULL); | |
835 #if defined(EXITFREE) | 836 #if defined(EXITFREE) |
836 EXTERN int entered_free_all_mem INIT(= FALSE); | 837 EXTERN int entered_free_all_mem INIT(= FALSE); |
837 // TRUE when in or after free_all_mem() | 838 // TRUE when in or after free_all_mem() |
838 #endif | 839 #endif |
839 // volatile because it is used in signal handler deathtrap(). | 840 // volatile because it is used in signal handler deathtrap(). |