]> code.delx.au - gnu-emacs/commit
Fix viper undo breakage from undo-boundary changes
authorPhillip Lord <phillip.lord@russet.org.uk>
Sat, 21 May 2016 09:06:12 +0000 (10:06 +0100)
committerPhillip Lord <phillip.lord@russet.org.uk>
Mon, 23 May 2016 08:12:49 +0000 (09:12 +0100)
commitc0139e32f1f3bb287b04e02a69a7848d6a040003
treebb3f6f0038516f4ef0a41b6c49497c9f5070aa4c
parent920d76c2084f0621dec8664840dd3fb2e9b34891
Fix viper undo breakage from undo-boundary changes

* lisp/simple.el (undo-auto-disable-boundaries): New variable
* lisp/emulation/viper-init.el (viper-undo-in-complex-command,
  viper-undo-needs-adjustment): Rename
  variable to reflect new purpose,
  (viper-buffer-undo-list-mark): Remove
* lisp/emulation/viper-cmd.el (viper-set-complex-command-for-undo):
  Add undo using `undo-boundary', disable default undo-boundary
  addition.
* lisp/emulation/viper-cmd.el
  (viper-complete-complex-command-for-undo,viper-adjust-undo):
  Change function name, remove old undo list manipulation.
* lisp/emulation/viper-cmd.el (viper-undo,viper-repeat,
  viper-change-state-to-vi,viper-change-state):
  Update for function name change.

Addresses Bug #22295
lisp/emulation/viper-cmd.el
lisp/emulation/viper-init.el
lisp/simple.el