]> code.delx.au - gnu-emacs/commit
Fixes: debbugs:19161
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 11 Dec 2014 21:07:23 +0000 (16:07 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 11 Dec 2014 21:07:23 +0000 (16:07 -0500)
commitaeeaf082e69ec088d6bbb140ddf0ce8119580a67
tree433810d5e49b5a9b7f110bffc7a6659ca43f7c59
parentc6f03ed03d68e52e8b18011d2c57959532b45fb5
Fixes: debbugs:19161
* src/fileio.c: Better preserve window-points during revert.

(Qget_buffer_window_list): New var.
(get_window_points_and_markers, restore_window_points): New functions.
(Finsert_file_contents): Use them to save and restore window-points.
src/ChangeLog
src/fileio.c
src/insdel.c