diff options
author | Richard M. Stallman <rms@gnu.org> | 1995-10-14 20:42:26 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1995-10-14 20:42:26 +0000 |
commit | 810ede4aeb40a6f4c2129c6249a3232a231270e1 (patch) | |
tree | f0bb3067c2f154d67ed973e7af749976c4bd8959 /src/fileio.c | |
parent | 0e0a8ad34279c0fd3419a9e393f100925774f592 (diff) | |
download | emacs-810ede4aeb40a6f4c2129c6249a3232a231270e1.tar.gz |
(Finsert_file_contents): If replacing,
set selected_window->start_at_line_beg.
Diffstat (limited to 'src/fileio.c')
-rw-r--r-- | src/fileio.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fileio.c b/src/fileio.c index f8469cbd821..f6f99e5e305 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -2971,6 +2971,10 @@ and (2) it puts less data in the undo list.") Otherwise loop around and scan the preceding bufferfull. */ if (bufpos != 0) break; + /* If display current starts at beginning of line, + keep it that way. */ + if (XBUFFER (XWINDOW (selected_window)->buffer) == current_buffer) + XWINDOW (selected_window)->start_at_line_beg = Fbolp (); } immediate_quit = 0; |