patch 8.2.0853: ml_delete() often called with FALSE argument
Problem: ml_delete() often called with FALSE argument.
Solution: Use ml_delete_flags(x, ML_DEL_MESSAGE) when argument is TRUE.
diff --git a/src/popupwin.c b/src/popupwin.c
index cee848a..fbda48b 100644
--- a/src/popupwin.c
+++ b/src/popupwin.c
@@ -1537,7 +1537,7 @@
// Clear the buffer, then replace the lines.
curbuf = buf;
for (lnum = buf->b_ml.ml_line_count; lnum > 0; --lnum)
- ml_delete(lnum, FALSE);
+ ml_delete(lnum);
curbuf = curwin->w_buffer;
// Add text to the buffer.
@@ -1563,7 +1563,7 @@
// delete the line that was in the empty buffer
curbuf = buf;
- ml_delete(buf->b_ml.ml_line_count, FALSE);
+ ml_delete(buf->b_ml.ml_line_count);
curbuf = curwin->w_buffer;
}