Variable: undo-auto--last-boundary-cause
undo-auto--last-boundary-cause is a buffer-local variable defined in
simple.el.gz.
Documentation
Describe the cause of the last undo-boundary.
If explicit, the last boundary was caused by an explicit call to
undo-boundary, that is one not called by the code in this
section.
If it is equal to timer, then the last boundary was inserted
by undo-auto--boundary-timer.
If it is equal to command, then the last boundary was inserted
automatically after a command, that is by the code defined in
this section.
If it is equal to a list, then the last boundary was inserted by an amalgamating command. The car of the list is the number of times an amalgamating command has been called, and the cdr are the buffers that were changed during the last command.
Source Code
;; Defined in /usr/src/emacs/lisp/simple.el.gz
;;; Default undo-boundary addition
;;
;; This section adds a new undo-boundary at either after a command is
;; called or in some cases on a timer called after a change is made in
;; any buffer.
(defvar-local undo-auto--last-boundary-cause nil
"Describe the cause of the last `undo-boundary'.
If `explicit', the last boundary was caused by an explicit call to
`undo-boundary', that is one not called by the code in this
section.
If it is equal to `timer', then the last boundary was inserted
by `undo-auto--boundary-timer'.
If it is equal to `command', then the last boundary was inserted
automatically after a command, that is by the code defined in
this section.
If it is equal to a list, then the last boundary was inserted by
an amalgamating command. The car of the list is the number of
times an amalgamating command has been called, and the cdr are the
buffers that were changed during the last command.")