mirror of
https://github.com/neovim/neovim.git
synced 2025-10-17 15:21:47 +00:00
vim-patch:8.0.0074
Problem: Cannot make Vim fail on an internal error.
Solution: Add IEMSG() and IEMSG2(). (Domenique Pelle) Avoid reporting an
internal error without mentioning where.
95f096030e
Signed-off-by: Michael Schupikov <michael@schupikov.de>
This commit is contained in:

committed by
James McCoy

parent
6ff13d78b7
commit
d5bce42b52
@@ -2853,7 +2853,7 @@ static void qf_fill_buffer(qf_info_T *qi, buf_T *buf, qfline_T *old_last)
|
||||
|
||||
if (old_last == NULL) {
|
||||
if (buf != curbuf) {
|
||||
EMSG2(_(e_intern2), "qf_fill_buffer()");
|
||||
internal_error("qf_fill_buffer()");
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user