Variable: undo-no-redo
undo-no-redo is a customizable variable defined in simple.el.gz.
Value
nil
Documentation
If t, undo doesn't go through redo entries.
Probably introduced at or before Emacs version 28.1.
Source Code
;; Defined in /usr/src/emacs/lisp/simple.el.gz
(defcustom undo-no-redo nil
"If t, `undo' doesn't go through redo entries."
:type 'boolean
:group 'undo)