[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/frog-menu 393d3f9 3/4: Temporary select posframe window
From: |
Clemens Radermacher |
Subject: |
[elpa] externals/frog-menu 393d3f9 3/4: Temporary select posframe window for avy--process |
Date: |
Wed, 3 Apr 2019 07:54:02 -0400 (EDT) |
branch: externals/frog-menu
commit 393d3f9ce571b69097ca536d2a8c4d4a3d4e1d34
Author: Clemens Radermacher <address@hidden>
Commit: Clemens Radermacher <address@hidden>
Temporary select posframe window for avy--process
---
frog-menu.el | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/frog-menu.el b/frog-menu.el
index d591fd1..6ad7430 100644
--- a/frog-menu.el
+++ b/frog-menu.el
@@ -559,9 +559,10 @@ ACTIONS is the argument of `frog-menu-read'."
(avy-all-windows nil)
(avy-style 'pre)
(avy-action #'identity)
- (pos (avy--process
- candidates
- #'frog-menu--avy-style)))
+ (pos (with-selected-window window
+ (avy--process
+ candidates
+ #'frog-menu--avy-style))))
(cond ((number-or-marker-p pos)
;; string
(with-current-buffer buffer