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

    Support searches that end right after suffix
    
    Closes https://github.com/magit/magit/issues/4951.
---
 lisp/transient.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lisp/transient.el b/lisp/transient.el
index f78b6dda6c..e6f673384b 100644
--- a/lisp/transient.el
+++ b/lisp/transient.el
@@ -3256,6 +3256,8 @@ have a history of their own.")
     (with-current-buffer buf
       (when transient-enable-popup-navigation
         (setq focus (or (button-get (point) 'command)
+                        (and (not (bobp))
+                             (button-get (1- (point)) 'command))
                         (transient--heading-at-point))))
       (erase-buffer)
       (setq window-size-fixed t)

Reply via email to