diff --git a/src/cut.c b/src/cut.c index 822a46b8..63267a29 100644 --- a/src/cut.c +++ b/src/cut.c @@ -256,9 +256,12 @@ void do_uncut_text(void) * cutbuffer ends. */ openfile->placewewant = xplustabs(); - edit_refresh(); + /* Mark the file as modified. */ set_modified(); + /* Update the screen. */ + edit_refresh(); + #ifdef DEBUG dump_filestruct_reverse(); #endif