diff src/errors.h @ 31077:6a2b04cd0213 v9.0.0873

patch 9.0.0873: using freed memory when executing mapclear at more prompt Commit: https://github.com/vim/vim/commit/bf533e4e88ebac8b8fec6d3e12dadc476ce9a1df Author: Bram Moolenaar <Bram@vim.org> Date: Sun Nov 13 20:43:19 2022 +0000 patch 9.0.0873: using freed memory when executing mapclear at more prompt Problem: Using freed memory when executing mapclear at the more prompt. Solution: Do not clear mappings while listing them. (closes https://github.com/vim/vim/issues/11438)
author Bram Moolenaar <Bram@vim.org>
date Sun, 13 Nov 2022 21:45:03 +0100
parents 360f286b5869
children 082f526cfb96
line wrap: on
line diff
--- a/src/errors.h
+++ b/src/errors.h
@@ -3333,3 +3333,5 @@ EXTERN char e_argument_nr_trying_to_modi
 EXTERN char e_cannot_resize_window_in_another_tab_page[]
 	INIT(= N_("E1308: Cannot resize a window in another tab page"));
 #endif
+EXTERN char e_cannot_change_mappings_while_listing[]
+	INIT(= N_("E1309: Cannot change mappings while listing"));