diff src/intervals.c @ 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 55ce83f36b30
children 7d02d12082ff
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;