changeset 2579:5d55e3b47227

(Fset-window-buffer): Set horizontal-scrolling on a window to zero when we connect it to a new buffer.
author Eric S. Raymond <esr@snark.thyrsus.com>
date Sun, 25 Apr 1993 06:15:18 +0000
parents f694fc6cdd33
children a66f7ed76416
files src/window.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/window.c	Sun Apr 25 06:14:25 1993 +0000
+++ b/src/window.c	Sun Apr 25 06:15:18 1993 +0000
@@ -1523,6 +1523,7 @@
     }
 
   w->buffer = buffer;
+  w->hscroll = 0;
   Fset_marker (w->pointm,
 	       make_number (BUF_PT (XBUFFER (buffer))),
 	       buffer);