From: Richard M. Stallman Date: Fri, 27 Jan 1995 07:19:06 +0000 (+0000) Subject: (set_point): Set point_before_scroll to nil. X-Git-Tag: emacs-19.34~5295 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b6a0ebc300fd4df098138b435237a5add2bf4bca;p=emacs.git (set_point): Set point_before_scroll to nil. --- diff --git a/src/intervals.c b/src/intervals.c index 75b5d6b8207..6e88be19cc7 100644 --- a/src/intervals.c +++ b/src/intervals.c @@ -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;