diff options
| author | Pip Cet <pipcet@protonmail.com> | 2026-05-17 15:27:03 +0000 |
|---|---|---|
| committer | Pip Cet <pipcet@protonmail.com> | 2026-05-20 11:27:40 +0000 |
| commit | 0b5ead9923516c18bbf45d499661a0641fb07731 (patch) | |
| tree | bcac88e4175c5415023d2ad120189bd2733d4954 /java/org/gnu/emacs/EmacsDialogButtonLayout.java | |
| parent | a8b9fad89720847a869bf288eb41473b6c82b833 (diff) | |
Detect some API violations in combine-change-calls (bug#80877)
Quickly verify that the number of unchanged characters before and
after the region that changes are supposed to be limited to doesn't
change.
Suggested by Stefan Monnier.
* lisp/subr.el (combine-change-calls-1): Copy BEG into a marker, and
count the characters after the changed region. After the changes,
ensure the character counts still match.
* test/lisp/subr-tests.el (subr-test-combine-change-calls-error): New.
Diffstat (limited to 'java/org/gnu/emacs/EmacsDialogButtonLayout.java')
0 files changed, 0 insertions, 0 deletions
