vim-patch:8.1.2223: cannot see what buffer an ml_get error is for
Problem: Cannot see what buffer an ml_get error is for.
Solution: Add the buffer number and name in the message
cb86893114
This commit is contained in:
parent
0f5bb9faf1
commit
bde4f47eb2
|
@ -1863,7 +1863,10 @@ errorret:
|
|||
// Avoid giving this message for a recursive call, may happen
|
||||
// when the GUI redraws part of the text.
|
||||
recursive++;
|
||||
IEMSGN(_("E316: ml_get: cannot find line %" PRId64), lnum);
|
||||
get_trans_bufname(buf);
|
||||
shorten_dir(NameBuff);
|
||||
iemsgf(_("E316: ml_get: cannot find line %" PRId64 " in buffer %d %s"),
|
||||
lnum, buf->b_fnum, NameBuff);
|
||||
recursive--;
|
||||
}
|
||||
goto errorret;
|
||||
|
|
Loading…
Reference in New Issue