diff options
| author | Barry O'Reilly | 2014-05-01 19:25:28 -0400 |
|---|---|---|
| committer | Barry O'Reilly | 2014-05-01 19:25:28 -0400 |
| commit | 4807c7eb90073c60996fe2224c2e9e1c2072624d (patch) | |
| tree | a114af9783f36dca823d9b7873e73f99d56e7a73 /src/buffer.c | |
| parent | 17a873c585321b47bcbf46612902245c49c422de (diff) | |
| download | emacs-4807c7eb90073c60996fe2224c2e9e1c2072624d.tar.gz emacs-4807c7eb90073c60996fe2224c2e9e1c2072624d.zip | |
Change algorithm used to adjust positions for undo in region
* simple.el (undo-make-selective-list): New algorithm fixes
incorrectness of position adjustments when undoing in region.
(Bug#17235)
(undo-elt-crosses-region): Make obsolete.
(undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos): New
functions to adjust positions using undo-deltas.
* automated/undo-tests.el (undo-test-region-deletion): New test to
demonstrate bug#17235.
(undo-test-region-example): New test to verify example given in
comments for undo-make-selective-list.
Fixes: debbugs:17325
Diffstat (limited to 'src/buffer.c')
0 files changed, 0 insertions, 0 deletions