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

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

[elpa] externals/transient 938b059192 297/366: transient--show: Set poin


From: Jonas Bernoulli
Subject: [elpa] externals/transient 938b059192 297/366: transient--show: Set point after displaying window again
Date: Tue, 25 Jan 2022 18:54:49 -0500 (EST)

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

    transient--show: Set point after displaying window again
    
    This fixes #173 a regression in [1: 7c677737].
    
    1: 2021-09-20 7c67773735dea5a0c41ad8afb69fdafb62c46c7c
       More flexible display of transient buffer
---
 lisp/transient.el | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/lisp/transient.el b/lisp/transient.el
index d0ba854dd5..42e324ff34 100644
--- a/lisp/transient.el
+++ b/lisp/transient.el
@@ -2922,16 +2922,16 @@ have a history of their own.")
                  'transient-separator)))
           (insert (propertize "__" 'face face 'display '(space :height (1))))
           (insert (propertize "\n" 'face face 'line-height t))))
-      (goto-char (point-min))
       (when transient-force-fixed-pitch
-        (transient--force-fixed-pitch))
-      (when transient-enable-popup-navigation
-        (transient--goto-button focus)))
+        (transient--force-fixed-pitch)))
     (unless (window-live-p transient--window)
       (setq transient--window
             (display-buffer buf transient-display-buffer-action)))
     (when (window-live-p transient--window)
       (with-selected-window transient--window
+        (goto-char (point-min))
+        (when transient-enable-popup-navigation
+          (transient--goto-button focus))
         (magit--fit-window-to-buffer transient--window)))))
 
 (defun magit--fit-window-to-buffer (window)



reply via email to

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