diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-06-26 19:44:06 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-06-26 19:44:06 +0200 |
commit | cf8441704d6e517bda1899f4afa82c6b4eecbaec (patch) | |
tree | 426b55ece4b23b41dfdbade5c64aeaafe3db8693 /src/globals.h | |
parent | fc838d6cb0f22c77a6ee2befd034b593e1c5ea06 (diff) | |
download | vim-git-cf8441704d6e517bda1899f4afa82c6b4eecbaec.tar.gz |
patch 8.2.1059: crash when using :tabonly in an autocommandv8.2.1059
Problem: Crash when using :tabonly in an autocommand. (Yegappan Lakshmanan)
Solution: Do not allow the autocommand window to be closed.
Diffstat (limited to 'src/globals.h')
-rw-r--r-- | src/globals.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/globals.h b/src/globals.h index c7f9794ab..03a693756 100644 --- a/src/globals.h +++ b/src/globals.h @@ -1765,6 +1765,7 @@ EXTERN char e_float_as_string[] INIT(= N_("E806: using Float as a String")); #endif EXTERN char e_dirnotf[] INIT(= N_("E919: Directory not found in '%s': \"%s\"")); EXTERN char e_au_recursive[] INIT(= N_("E952: Autocommand caused recursive behavior")); +EXTERN char e_autocmd_close[] INIT(= N_("E813: Cannot close autocmd or popup window")); #ifdef FEAT_MENU EXTERN char e_menuothermode[] INIT(= N_("E328: Menu only exists in another mode")); #endif |