diff options
author | Noam Postavsky <npostavs@gmail.com> | 2018-03-30 16:44:24 -0400 |
---|---|---|
committer | Noam Postavsky <npostavs@gmail.com> | 2018-06-03 12:48:13 -0400 |
commit | daa602338fd91aced720b5555c8b6ed389383831 (patch) | |
tree | b859b9a568d8b18d0f67cdfeee62c93a3bbcc299 /test/lisp/emacs-lisp/checkdoc-tests.el | |
parent | 7460840a6c9ab713e8ccc470011495fdb86a61d7 (diff) | |
download | emacs-daa602338fd91aced720b5555c8b6ed389383831.tar.gz emacs-daa602338fd91aced720b5555c8b6ed389383831.tar.bz2 emacs-daa602338fd91aced720b5555c8b6ed389383831.zip |
Fix another case of freed markers in the undo-list (Bug#30931)
* src/alloc.c (free_marker): Remove.
* src/editfns.c (save_restriction_restore):
* src/insdel.c (signal_before_change): Detach the markers from the
buffer when we're done with them instead of calling free_marker on
them.
* test/src/editfns-tests.el (delete-region-undo-markers-1)
(delete-region-undo-markers-2): New tests.
(cherry picked from commit 96b8747d5c5d747af13fd84d8fe0308ef2a0ea7a)
Diffstat (limited to 'test/lisp/emacs-lisp/checkdoc-tests.el')
0 files changed, 0 insertions, 0 deletions