0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

patch 8.1.1318: code for text changes is in a "misc" file

Problem:    Code for text changes is in a "misc" file.
Solution:   Move the code to change.c.
This commit is contained in:
Bram Moolenaar
2019-05-11 18:36:34 +02:00
parent 3f86ca0faa
commit ec28d1516e
14 changed files with 44 additions and 2276 deletions

View File

@@ -1637,7 +1637,7 @@ ml_recover(void)
* empty. Don't set the modified flag then. */
if (!(curbuf->b_ml.ml_line_count == 2 && *ml_get(1) == NUL))
{
changed_int();
changed_internal();
++CHANGEDTICK(curbuf);
}
}
@@ -1651,7 +1651,7 @@ ml_recover(void)
vim_free(p);
if (i != 0)
{
changed_int();
changed_internal();
++CHANGEDTICK(curbuf);
break;
}