diff options
| author | Stefan Monnier | 2025-04-16 10:15:16 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2025-04-16 10:15:16 -0400 |
| commit | 4532fbefece210061d01ab9523f3054aadb1c45a (patch) | |
| tree | 8629f0a0eb6a43ddd2b193f5f0a08a74e1188449 /java | |
| parent | bf737dc42a70fd8665b7c5ad506249a6119ec4c4 (diff) | |
| download | emacs-4532fbefece210061d01ab9523f3054aadb1c45a.tar.gz emacs-4532fbefece210061d01ab9523f3054aadb1c45a.zip | |
(Freplace_region_contents): Treat point as insert-before marker
Experience suggests that it's more often useful to keep point
at the end of the replacement than it is to keep point at the
beginning of the replacement.
This also aligns the behavior of `replace-region-contents` with
that of `insert`.
* src/insdel.c (replace_range): Treat PT like an insert-before marker.
* src/editfns.c (Freplace_region_contents): Adjust docstring accordingly.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions