Function: transient-maybe-save-history

transient-maybe-save-history is a byte-compiled function defined in transient.el.

Signature

(transient-maybe-save-history)

Documentation

Save the value of transient-history.

If transient-save-history(var)/transient-save-history(fun) is nil, then do nothing.

Source Code

;; Defined in ~/.emacs.d/elpa/transient-20260414.1009/transient.el
(defun transient-maybe-save-history ()
  "Save the value of `transient-history'.
If `transient-save-history' is nil, then do nothing."
  (when transient-save-history
    (with-demoted-errors "Error saving transient history: %S"
      (transient-save-history))))