changeset 10563:d35f5eca6dd5

(set_point): Set point_before_scroll to nil.
author Richard M. Stallman <rms@gnu.org>
date Fri, 27 Jan 1995 07:19:06 +0000
parents ddc863fd062b
children 69cae342dde5
files src/intervals.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/intervals.c	Fri Jan 27 07:18:11 1995 +0000
+++ b/src/intervals.c	Fri Jan 27 07:19:06 1995 +0000
@@ -1604,6 +1604,8 @@
   int backwards = (position < BUF_PT (buffer)) ? 1 : 0;
   int old_position = BUF_PT (buffer);
 
+  buffer->point_before_scroll = Qnil;
+
   if (position == BUF_PT (buffer))
     return;