mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
patch 8.2.0614: get ml_get error when deleting a line in 'completefunc'
Problem: Get ml_get error when deleting a line in 'completefunc'. (Yegappan Lakshmanan) Solution: Lock the text while evaluating 'completefunc'.
This commit is contained in:
@@ -333,7 +333,7 @@ undo_allowed(void)
|
||||
// caller of getcmdline() may get confused.
|
||||
if (textlock != 0)
|
||||
{
|
||||
emsg(_(e_secure));
|
||||
emsg(_(e_textlock));
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user