branch: externals/transient commit a47ae9499ba8b79d5e268c33e5fcad9157ebd184 Author: Jonas Bernoulli <jo...@bernoul.li> Commit: Jonas Bernoulli <jo...@bernoul.li>
transient-{set,save}: Support exiting the transient These common suffixes still do not exit the transient due to their entry in `transient-predicate-map', but it is now possible to override that in the suffix spec. --- lisp/transient.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/transient.el b/lisp/transient.el index 247516758b..bc0dc6ec35 100644 --- a/lisp/transient.el +++ b/lisp/transient.el @@ -1826,12 +1826,12 @@ transient is active." (defun transient-set () "Save the value of the active transient for this Emacs session." (interactive) - (transient-set-value transient--prefix)) + (transient-set-value (or transient--prefix current-transient-prefix))) (defun transient-save () "Save the value of the active transient persistenly across Emacs sessions." (interactive) - (transient-save-value transient--prefix)) + (transient-save-value (or transient--prefix current-transient-prefix))) (defun transient-history-next () "Switch to the next value used for the active transient."