]> code.delx.au - gnu-emacs/commit
run_undoable_changes now called from insdel.
authorPhillip Lord <phillip.lord@russet.org.uk>
Wed, 25 Nov 2015 21:39:49 +0000 (21:39 +0000)
committerPhillip Lord <phillip.lord@russet.org.uk>
Wed, 25 Nov 2015 21:39:49 +0000 (21:39 +0000)
commit957b05c615ee749b569d9fa2b214b2a2d8fa9bda
tree132afd0ca9d54409e43b96cdec21b9b96852990f
parent8f2a5a8aa487036006b7590c896cde30157ca7e0
run_undoable_changes now called from insdel.

The original calls from inside undo.c are not always at a safe position
to call lisp, as they originate in varied positions within insdel.c.
Calling them directly from prepare_to_modify_buffer_1 ensures that they
are always run at the same point.

 * undo.c (run_undoable_changes,syms_of_undo): Remove function
 and symbol used.
 * insdel.c (run_undoable_changes): Add function and symbol.
src/insdel.c
src/undo.c