Commit 270967b2 authored by Eric S. Raymond's avatar Eric S. Raymond
Browse files

(Fset-window-buffer): Set horizontal-scrolling on a window to zero when

we connect it to a new buffer.
parent a97c374a
......@@ -1523,6 +1523,7 @@ BUFFER can be a buffer or buffer name.")
}
w->buffer = buffer;
w->hscroll = 0;
Fset_marker (w->pointm,
make_number (BUF_PT (XBUFFER (buffer))),
buffer);
......
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