Function: transient-history-prev
transient-history-prev is an interactive and byte-compiled function
defined in transient.el.gz.
Signature
(transient-history-prev)
Documentation
Switch to the previous value used for the active transient.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/transient.el.gz
(defun transient-history-prev ()
"Switch to the previous value used for the active transient."
(interactive)
(let* ((obj transient--prefix)
(pos (1+ (oref obj history-pos)))
(hst (oref obj history))
(len (length hst)))
(if (> pos (1- len))
(user-error "End of history")
(oset obj history-pos pos)
(oset obj value (nth pos hst))
(mapc #'transient-init-value transient--suffixes))))