Function: vundo--position-only-p
vundo--position-only-p is a natively compiled function defined in
vundo.el.
Signature
(vundo--position-only-p UNDO-LIST)
Documentation
Check if the records at the start of UNDO-LIST are position-only.
Position-only means all records until to the next undo
boundary are position records. Position record is just an
integer (see buffer-undo-list). Assumes the first element
of UNDO-LIST is not nil.
Source Code
;; Defined in /nix/store/386w2ds6bdh3gcz9k23jssw4cni4lfr2-emacs-packages-deps/share/emacs/site-lisp/elpa/vundo-2.4.0/vundo.el
(defun vundo--position-only-p (undo-list)
"Check if the records at the start of UNDO-LIST are position-only.
Position-only means all records until to the next undo
boundary are position records. Position record is just an
integer (see `buffer-undo-list'). Assumes the first element
of UNDO-LIST is not nil."
(let ((pos-only t))
(while (car undo-list)
(when (not (integerp (pop undo-list)))
(setq pos-only nil)
(setq undo-list nil)))
pos-only))