diff options
author | Yuan Fu <casouri@gmail.com> | 2021-03-03 09:50:15 -0500 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2021-03-11 17:39:39 -0500 |
commit | 71ef0122abf5215eafa2dc414b75630a709de008 (patch) | |
tree | 1031e4120679eb3118568c5b92f7e77d5a4fd024 /test/lisp/emacs-lisp/bytecomp-resources/warn-wide-docstring-define-obsolete-function-alias.el | |
parent | d9c94e93b7013d575aeb2a8e8077564a80b04f7c (diff) | |
download | emacs-71ef0122abf5215eafa2dc414b75630a709de008.tar.gz emacs-71ef0122abf5215eafa2dc414b75630a709de008.tar.bz2 emacs-71ef0122abf5215eafa2dc414b75630a709de008.zip |
Map redo records for undo in region to 'undo-in-region
* lisp/simple.el (undo-equiv-table): Add explaination for
undo-in-region, undo to the beginning of undo list and null undo.
(undo): If equiv is 'undo-in-region, empty or t, set pending-undo-list
to t. If the redo is undo-in-region, map buffer-undo-list to
'undo-in-region instead of t, if it is an identity mapping, map to
'empty.
(undo-make-selective-list): Only continue when ulist is a proper list.
* test/lisp/simple-tests.el (simple-tests--undo): Add test for
undo-only in region.
(simple-tests--sans-leading-nil): New helper function.
(simple-tests--undo-equiv-table): New test for 'undo-equiv-table'.
Diffstat (limited to 'test/lisp/emacs-lisp/bytecomp-resources/warn-wide-docstring-define-obsolete-function-alias.el')
0 files changed, 0 insertions, 0 deletions