diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-04-21 22:01:14 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-04-21 22:01:14 +0200 |
commit | ff06f283e3e4b3ec43012dd3b83f8454c98f6639 (patch) | |
tree | 61a07e0fa072ae02212421515c60745109f2b924 /src/undo.c | |
parent | 1966c248814d5195edcd1208ed0e51e664a61283 (diff) | |
download | vim-git-ff06f283e3e4b3ec43012dd3b83f8454c98f6639.tar.gz |
patch 8.2.0614: get ml_get error when deleting a line in 'completefunc'v8.2.0614
Problem: Get ml_get error when deleting a line in 'completefunc'. (Yegappan
Lakshmanan)
Solution: Lock the text while evaluating 'completefunc'.
Diffstat (limited to 'src/undo.c')
-rw-r--r-- | src/undo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/undo.c b/src/undo.c index c5ce306ca..c11b048a2 100644 --- a/src/undo.c +++ b/src/undo.c @@ -333,7 +333,7 @@ undo_allowed(void) // caller of getcmdline() may get confused. if (textlock != 0) { - emsg(_(e_secure)); + emsg(_(e_textlock)); return FALSE; } |