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:
parent
2e4a1e1f7e
commit
b6a0ebc300
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue