]> git.eshelyaron.com Git - emacs.git/commit
The heuristic that Emacs uses to add an `undo-boundary' has been
authorPhillip Lord <phillip.lord@newcastle.ac.uk>
Thu, 6 Aug 2015 20:33:58 +0000 (21:33 +0100)
committerPhillip Lord <phillip.lord@russet.org.uk>
Thu, 12 Nov 2015 21:06:05 +0000 (21:06 +0000)
commit44dfa86b7d382b84564d68472da1448d08f48129
tree778e2228ec90a4401b2be6cd7b258ee44a212b26
parent0aec2aaccd8b745fa7214f3edd453c04a04bfba4
The heuristic that Emacs uses to add an `undo-boundary' has been
reworked, as it interacts poorly with functions on `post-command-hook'
or `after-change-functions'.

* lisp/simple.el: New section added.
* src/cmds.c (remove_excessive_undo_boundaries): Now in lisp.
(self_insert_command): Calls simple.el to amalgamate.
(delete_char): Calls simple.el to amalgamate.
* src/keyboard.c (last_undo_boundary): Removed.
* src/undo.c (run_undoable_change): New function.
lisp/simple.el
src/cmds.c
src/keyboard.c
src/lisp.h
src/undo.c