diff options
-rw-r--r-- | src/nvim/change.c | 5 | ||||
-rw-r--r-- | src/nvim/misc1.c | 10 |
2 files changed, 2 insertions, 13 deletions
diff --git a/src/nvim/change.c b/src/nvim/change.c index 5f2157fa04..4267429c25 100644 --- a/src/nvim/change.c +++ b/src/nvim/change.c @@ -333,10 +333,9 @@ void changed_bytes(linenr_T lnum, colnr_T col) * Must be called AFTER the change and after mark_adjust(). * Takes care of marking the buffer to be redrawn and sets the changed flag. */ - void -appended_lines(linenr_T lnum, long count) +void appended_lines(linenr_T lnum, long count) { - changed_lines(lnum + 1, 0, lnum + 1, count); + changed_lines(lnum + 1, 0, lnum + 1, count, true); } /* diff --git a/src/nvim/misc1.c b/src/nvim/misc1.c index 2083eb9201..f12fc574c7 100644 --- a/src/nvim/misc1.c +++ b/src/nvim/misc1.c @@ -1786,16 +1786,6 @@ int gchar_pos(pos_T *pos) } /* - * Appended "count" lines below line "lnum" in the current buffer. - * Must be called AFTER the change and after mark_adjust(). - * Takes care of marking the buffer to be redrawn and sets the changed flag. - */ -void appended_lines(linenr_T lnum, long count) -{ - changed_lines(lnum + 1, 0, lnum + 1, count, true); -} - -/* * Like appended_lines(), but adjust marks first. */ void appended_lines_mark(linenr_T lnum, long count) |