diff --git a/ChangeLog b/ChangeLog index 65fdadf0ec88f1c4140079525e38a29651e65e47..c5dbc26ef08626920b164556843eacb527b693e4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -78,8 +78,6 @@ CVS code - path. (DLR) - files.c: do_insertfile() - - If we're in view mode, as we can be if multibuffer mode is on, - don't mark the file as modified. (DLR) - If we execute a command in a new buffer, move back to the beginning of the first line of the buffer afterwards, for consistency. (DLR) diff --git a/src/files.c b/src/files.c index d4511ddb05be04bef19f0a29f8032dced9ee4bda..4d773c4424c943325c898c48b4dc249ba64ea7ec 100644 --- a/src/files.c +++ b/src/files.c @@ -878,10 +878,8 @@ void do_insertfile( /* Restore the old place we want. */ openfile->placewewant = pww_save; - /* Mark the file as modified, unless we're here in view - * mode, which we can be if multibuffer mode is on. */ - if (!ISSET(VIEW_MODE)) - set_modified(); + /* Mark the file as modified. */ + set_modified(); /* Update the screen. */ edit_refresh();