diff options
author | Noam Postavsky <npostavs@gmail.com> | 2020-03-24 05:39:03 -0400 |
---|---|---|
committer | Noam Postavsky <npostavs@gmail.com> | 2020-03-31 18:17:53 -0400 |
commit | a477a7b86ba7c59a90b18283cc86769c27de6c7c (patch) | |
tree | 01e595a0c51083bbdf66ff22b66fdab529d79692 /lisp/emacs-lisp/timer.el | |
parent | 05cab7ad06efabae18ee94e3b609ea10ae2f60be (diff) | |
download | emacs-a477a7b86ba7c59a90b18283cc86769c27de6c7c.tar.gz emacs-a477a7b86ba7c59a90b18283cc86769c27de6c7c.tar.bz2 emacs-a477a7b86ba7c59a90b18283cc86769c27de6c7c.zip |
Don't lose point during fileloop replace (Bug#38867)
Suggested by Eric Michael Timmons <etimmons@mit.edu>.
* lisp/fileloop.el (fileloop-initialize-replace): Save the
match-beginning position in a variable instead of the buffer's point.
The point may be changed by the time perform-replace is called, e.g.,
due to switch-to-buffer-preserve-window-point.
Diffstat (limited to 'lisp/emacs-lisp/timer.el')
0 files changed, 0 insertions, 0 deletions