diff options
author | Alan Mackenzie <acm@muc.de> | 2018-01-06 20:15:04 +0000 |
---|---|---|
committer | Alan Mackenzie <acm@muc.de> | 2018-01-06 20:15:04 +0000 |
commit | 5fd229735384a5fa479466124a181bf7d4ea8dab (patch) | |
tree | 51396178dc954cbb808f34f6a11a1216cbc127d2 /test/lisp/emacs-lisp/ert-tests.el | |
parent | fc31788beb924c712451adef47b1005bac2ac48a (diff) | |
download | emacs-5fd229735384a5fa479466124a181bf7d4ea8dab.tar.gz emacs-5fd229735384a5fa479466124a181bf7d4ea8dab.tar.bz2 emacs-5fd229735384a5fa479466124a181bf7d4ea8dab.zip |
Make transpose-regions invoke before-change-functions only once.
In the case of two non-contiguous regions the same size, transpose-regions has
been calling before-change-functions twice, once for each region. It now
calls it just once, for the minimal region spanning both single regions.
* src/editfns.c (Ftranspose_regions): Combine two calls of modify_text into
one.
Diffstat (limited to 'test/lisp/emacs-lisp/ert-tests.el')
0 files changed, 0 insertions, 0 deletions