Function: track-changes--state

track-changes--state is a byte-compiled function defined in track-changes.el.gz.

Signature

(track-changes--state)

Documentation

Constructor for objects of type track-changes--state(var)/track-changes--state(fun).

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/track-changes.el.gz
(cl-defstruct (track-changes--state
               ;; (:noinline t) ;Requires Emacs≥27
               (:constructor nil)
               (:constructor track-changes--state ()))
  "Object holding a description of a buffer state.
A buffer state is described by a BEG/END/BEFORE triplet which say how to
recover that state from the next state.  I.e. if the buffer's contents
reflects the next state, you can recover the previous state by replacing
the BEG..END region with the BEFORE string.

NEXT is the next state object (i.e. a more recent state).
If NEXT is nil it means it's the most recent state and it may be incomplete
\(BEG/END/BEFORE may be nil), in which case those fields will take their
values from `track-changes--before-(beg|end|before)' when the next
state is created."
  (beg (point-max))
  (end (point-min))
  (before nil)
  (next nil))