diff options
author | Alan Mackenzie <acm@muc.de> | 2021-11-12 18:43:22 +0000 |
---|---|---|
committer | Alan Mackenzie <acm@muc.de> | 2021-11-12 18:43:22 +0000 |
commit | 974192413f8a81171b8fd28dfd5c081ce06d3dec (patch) | |
tree | 5d9dfc6b4a9b16de5d4d00e3d4fc129bf606a35c /test/lisp/emacs-lisp/regexp-opt-tests.el | |
parent | 2c5be6ddca96443722e5e527a015b1d3574ed081 (diff) | |
download | emacs-974192413f8a81171b8fd28dfd5c081ce06d3dec.tar.gz emacs-974192413f8a81171b8fd28dfd5c081ce06d3dec.tar.bz2 emacs-974192413f8a81171b8fd28dfd5c081ce06d3dec.zip |
In insert_file_contents, always set windows' point markers.
This fixes bug #51776.
* src/fileio.c (restore_window_points): Restore a w->mpoint even when that
marker originally pointed into the unchanged area near BOB or EOB. This
prevents that window's point being moved a long way from its starting place
due to the removal of the central part of the buffer by insert_file_contents.
Diffstat (limited to 'test/lisp/emacs-lisp/regexp-opt-tests.el')
0 files changed, 0 insertions, 0 deletions