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

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

[elpa] externals/transient 070d47b0c8 2/2: Support searches that end rig


From: Jonas Bernoulli
Subject: [elpa] externals/transient 070d47b0c8 2/2: Support searches that end right after suffix
Date: Thu, 1 Jun 2023 17:31:22 -0400 (EDT)

branch: externals/transient
commit 070d47b0c8a05ba4c6c375332d631c033b5d97c0
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@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

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