0
0
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:
Bram Moolenaar
2020-04-21 22:01:14 +02:00
parent 1966c24881
commit ff06f283e3
12 changed files with 62 additions and 42 deletions

View File

@@ -333,7 +333,7 @@ undo_allowed(void)
// caller of getcmdline() may get confused.
if (textlock != 0)
{
emsg(_(e_secure));
emsg(_(e_textlock));
return FALSE;
}