[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/frog-menu cbb98c8 1/4: Fix actions not working with new
From: |
Clemens Radermacher |
Subject: |
[elpa] externals/frog-menu cbb98c8 1/4: Fix actions not working with newer avy version (#4). |
Date: |
Wed, 3 Apr 2019 07:54:01 -0400 (EDT) |
branch: externals/frog-menu
commit cbb98c860da0d6bae52f5d35d481900aaa9237db
Author: Clemens Radermacher <address@hidden>
Commit: Clemens Radermacher <address@hidden>
Fix actions not working with newer avy version (#4).
---
frog-menu.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/frog-menu.el b/frog-menu.el
index c397f83..f5e5426 100644
--- a/frog-menu.el
+++ b/frog-menu.el
@@ -501,7 +501,7 @@ buffer positions containing the candidates and default to
(let* ((key (kbd (key-description (vector char))))
(cmd (lookup-key frog-menu--avy-action-map key)))
(if (commandp cmd)
- (throw 'done (list (list cmd)))
+ (throw 'done (list cmd))
(message "No such candidate: %s, hit `C-g' to quit."
(if (characterp char) (string char) char))
(throw 'done 'restart))))))
@@ -559,7 +559,7 @@ ACTIONS is the argument of `frog-menu-read'."
(avy-all-windows nil)
(avy-style 'pre)
(avy-action #'identity)
- (pos (avy--process
+ (pos (avy-process
candidates
#'frog-menu--avy-style)))
(cond ((number-or-marker-p pos)