aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1995-01-27 07:19:06 +0000
committerRichard M. Stallman1995-01-27 07:19:06 +0000
commitb6a0ebc300fd4df098138b435237a5add2bf4bca (patch)
tree2efdae61d539dc6bf85a1dc11fb1b12882456971 /src
parent2e4a1e1f7e99dec3eba6da6c8355461cbd4d7a0a (diff)
downloademacs-b6a0ebc300fd4df098138b435237a5add2bf4bca.tar.gz
emacs-b6a0ebc300fd4df098138b435237a5add2bf4bca.zip
(set_point): Set point_before_scroll to nil.
Diffstat (limited to 'src')
-rw-r--r--src/intervals.c2
1 files changed, 2 insertions, 0 deletions
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)
1604 int backwards = (position < BUF_PT (buffer)) ? 1 : 0; 1604 int backwards = (position < BUF_PT (buffer)) ? 1 : 0;
1605 int old_position = BUF_PT (buffer); 1605 int old_position = BUF_PT (buffer);
1606 1606
1607 buffer->point_before_scroll = Qnil;
1608
1607 if (position == BUF_PT (buffer)) 1609 if (position == BUF_PT (buffer))
1608 return; 1610 return;
1609 1611