deuce.emacs.undo

primitive-undo

(primitive-undo n list)
Undo N records from the front of the list LIST.
Return what remains of the list.

undo-boundary

(undo-boundary)
Mark a boundary between units of undo.
An undo command will stop at this point,
but another undo command will undo to the previous boundary.