diff src/errors.h @ 31085:8c10a0b22015 v9.0.0877

patch 9.0.0877: using freed memory with :comclear while listing commands Commit: https://github.com/vim/vim/commit/cf2594fbf34d9a6776bd9d33f845cb8ceb1e1cd0 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Nov 13 23:30:06 2022 +0000 patch 9.0.0877: using freed memory with :comclear while listing commands Problem: Using freed memory with :comclear while listing commands. Solution: Bail out when the command list has changed. (closes https://github.com/vim/vim/issues/11440)
author Bram Moolenaar <Bram@vim.org>
date Mon, 14 Nov 2022 00:45:03 +0100
parents 082f526cfb96
children f6d4c6a3b41c
line wrap: on
line diff
--- a/src/errors.h
+++ b/src/errors.h
@@ -3339,3 +3339,5 @@ EXTERN char e_cannot_change_mappings_whi
 EXTERN char e_cannot_change_menus_while_listing[]
 	INIT(= N_("E1310: Cannot change menus while listing"));
 #endif
+EXTERN char e_cannot_change_user_commands_while_listing[]
+	INIT(= N_("E1311: Cannot change user commands while listing"));