branch: externals/frog-menu
commit 5846f71d1ecc883f8c60b1fc3214bee57ce7cefc
Author: Clemens Radermacher <[email protected]>
Commit: Clemens Radermacher <[email protected]>
Allow single candidate jump if no actions
---
frog-menu.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/frog-menu.el b/frog-menu.el
index 12d1435..2dbcdbc 100644
--- a/frog-menu.el
+++ b/frog-menu.el
@@ -374,7 +374,7 @@ gets hidden after the query."
(frog-menu--init-avy-action-map actions)
(if candidates
(let* ((avy-keys frog-menu-avy-keys)
- (avy-single-candidate-jump nil)
+ (avy-single-candidate-jump (null actions))
(avy-handler-function #'frog-menu--posframe-ace-handler)
(avy-pre-action #'ignore)
(avy-all-windows nil)