branch: externals/transient
commit 5a54f6d72bd7f484ca6b932baa93576aadffa0d1
Author: Jonas Bernoulli <jo...@bernoul.li>
Commit: Jonas Bernoulli <jo...@bernoul.li>

    Suspend text-conversion-style earlier
    
    From the docstring of `text-conversion-style', which appears to
    also apply to `overriding-text-conversion-style':
    
    > This variable does not take immediate effect when set; rather, it
    > takes effect upon the next redisplay after the selected window or
    > its buffer changes.
    
    If we trigger the suspension before we create the transient window
    and buffer, which causes a redisplay, then our setting has a chance
    to kick in.
    
    Re #376.
---
 lisp/transient.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/transient.el b/lisp/transient.el
index 2537fa9029..7935f2592b 100644
--- a/lisp/transient.el
+++ b/lisp/transient.el
@@ -2322,8 +2322,8 @@ EDIT may be non-nil."
        (setq transient--minibuffer-depth (minibuffer-depth))
        (transient--redisplay))
      (get name 'transient--prefix))
-    (transient--setup-transient)
     (transient--suspend-text-conversion-style)
+    (transient--setup-transient)
     (transient--suspend-which-key-mode)))
 
 (cl-defgeneric transient-setup-children (group children)

Reply via email to