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

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

[elpa] externals/transient 7c771c94c8: Do not let-bind overriding-termin


From: Jonas Bernoulli
Subject: [elpa] externals/transient 7c771c94c8: Do not let-bind overriding-terminal-local-map to nil
Date: Sun, 6 Mar 2022 15:46:25 -0500 (EST)

branch: externals/transient
commit 7c771c94c8fc31d859c1e083bf32fbce403f4766
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>

    Do not let-bind overriding-terminal-local-map to nil
    
    Previously we let-bound `overriding-terminal-local-map' to nil in
    `transient-infix-read', which is not only unnecessary (because we
    temporarily remove the transient map through other means).  When
    the debugger is active and an error is signaled while the binding
    is active, this resulted in the transient map being restored after
    exiting the debugger.
---
 lisp/transient.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lisp/transient.el b/lisp/transient.el
index c5a10c5270..d5bc08b584 100644
--- a/lisp/transient.el
+++ b/lisp/transient.el
@@ -2738,8 +2738,7 @@ it\", in which case it is pointless to preserve history.)"
              (not always-read)
              transient--prefix)
         (oset obj value nil)
-      (let* ((overriding-terminal-local-map nil)
-             (enable-recursive-minibuffers t)
+      (let* ((enable-recursive-minibuffers t)
              (reader (oref obj reader))
              (prompt (transient-prompt obj))
              (value (if multi-value (mapconcat #'identity value ",") value))



reply via email to

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