branch: externals/transient commit 7c771c94c8fc31d859c1e083bf32fbce403f4766 Author: Jonas Bernoulli <jo...@bernoul.li> Commit: Jonas Bernoulli <jo...@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))