emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/transient a47ae9499b 049/366: transient-{set, save}: Su


From: Jonas Bernoulli
Subject: [elpa] externals/transient a47ae9499b 049/366: transient-{set, save}: Support exiting the transient
Date: Tue, 25 Jan 2022 18:54:25 -0500 (EST)

branch: externals/transient
commit a47ae9499ba8b79d5e268c33e5fcad9157ebd184
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@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."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]