1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-03 10:31:37 -08:00

(set_point): Set point_before_scroll to nil.

This commit is contained in:
Richard M. Stallman 1995-01-27 07:19:06 +00:00
parent 2e4a1e1f7e
commit b6a0ebc300

View 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;