]> git.eshelyaron.com Git - emacs.git/commitdiff
(set_point): Set point_before_scroll to nil.
authorRichard M. Stallman <rms@gnu.org>
Fri, 27 Jan 1995 07:19:06 +0000 (07:19 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 27 Jan 1995 07:19:06 +0000 (07:19 +0000)
src/intervals.c

index 75b5d6b8207d0c7658190373ebeb7ac865207711..6e88be19cc7db74837d6c795416e5ae990556ef0 100644 (file)
@@ -1604,6 +1604,8 @@ set_point (position, buffer)
   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;