Commit 26fb39b5 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(Finsert_file_contents): If replacing,

set selected_window->start_at_line_beg.
parent 9cda4f7c
......@@ -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)
/* 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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment