* lisp/simple.el (undo-amalgamate-change-group): New function
commit99fe98d37a39d26f5dea424926d0e0a082655fe5
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 19 Jul 2016 01:04:39 +0000 (18 21:04 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 19 Jul 2016 01:04:39 +0000 (18 21:04 -0400)
tree636e1f79d4b85206ea7281f08ad053fb84902abe
parent73f0715df53c6a12a3d9039ac1a1664d30c293ff
* lisp/simple.el (undo-amalgamate-change-group): New function

* lisp/emulation/viper-cmd.el (viper-adjust-undo): Use it.
(viper-set-complex-command-for-undo): Save current state with
prepare-change-group.
* lisp/emulation/viper-init.el (viper-undo-needs-adjustment)
(viper-buffer-undo-list-mark): Remove.
etc/NEWS
lisp/emulation/viper-cmd.el
lisp/emulation/viper-init.el
lisp/simple.el