[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/frog-menu a5f31be 07/43: Add another example
From: |
Clemens Radermacher |
Subject: |
[elpa] externals/frog-menu a5f31be 07/43: Add another example |
Date: |
Sun, 24 Mar 2019 05:14:44 -0400 (EDT) |
branch: externals/frog-menu
commit a5f31be753befcf8f9b9d1a23a61ae76d1616f5b
Author: Clemens Radermacher <address@hidden>
Commit: Clemens Radermacher <address@hidden>
Add another example
---
README.org | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/README.org b/README.org
index cb485e5..64ce0c3 100644
--- a/README.org
+++ b/README.org
@@ -15,8 +15,15 @@ and choosen depends on =frog-menu-type=. The default type
=avy-posframe= uses
[[https://github.com/abo-abo/avy][avy]] and
[[https://github.com/tumashu/posframe][posframe]]. Their handler functions can
be used as reference if you want
to define a new =frog-menu-type=.
-Here is an example how you could use =frog-menu-read= to implement a
-[[https://github.com/d12frosted/flyspell-correct][flyspell-correct-interface]]:
+Here is an example how you would invoke a frog menu:
+
+#+begin_src elisp
+(frog-menu-read "Choose a string"
+ '("a" "list" "of strings"))
+#+end_src
+
+It is also possible to define additional action keys. Here is an example how
+you could use =frog-menu-read= to implement a
[[https://github.com/d12frosted/flyspell-correct][flyspell-correct-interface]]:
#+begin_src elisp
(require 'flyspell-correct)
- [elpa] branch externals/frog-menu created (now cd5dd46), Clemens Radermacher, 2019/03/24
- [elpa] externals/frog-menu 1d69fcf 03/43: Formatting fixes, Clemens Radermacher, 2019/03/24
- [elpa] externals/frog-menu 7235624 02/43: Adjust frog-menu-avy-keys default value for qwerty, Clemens Radermacher, 2019/03/24
- [elpa] externals/frog-menu 2460b67 06/43: Add gitignore, Clemens Radermacher, 2019/03/24
- [elpa] externals/frog-menu 20cd2dc 04/43: Add links, Clemens Radermacher, 2019/03/24
- [elpa] externals/frog-menu 1af5653 05/43: Checkdoc fixes, Clemens Radermacher, 2019/03/24
- [elpa] externals/frog-menu eedd690 09/43: Fix menu format, Clemens Radermacher, 2019/03/24
- [elpa] externals/frog-menu a5f31be 07/43: Add another example,
Clemens Radermacher <=
- [elpa] externals/frog-menu ca08068 13/43: Add cleanup handler option, Clemens Radermacher, 2019/03/24
- [elpa] externals/frog-menu 864ff1b 14/43: Improve docstring, Clemens Radermacher, 2019/03/24
- [elpa] externals/frog-menu 8e81080 17/43: Fix first init error for posframe, Clemens Radermacher, 2019/03/24
- [elpa] externals/frog-menu 5846f71 16/43: Allow single candidate jump if no actions, Clemens Radermacher, 2019/03/24
- [elpa] externals/frog-menu 9ea2c24 23/43: Change default grid format function to adjust width based on type, Clemens Radermacher, 2019/03/24
- [elpa] externals/frog-menu ebb5f3c 01/43: Initial commit, Clemens Radermacher, 2019/03/24
- [elpa] externals/frog-menu 77155d9 28/43: Update docstring, Clemens Radermacher, 2019/03/24
- [elpa] externals/frog-menu 72aa25b 22/43: Fix docstring, Clemens Radermacher, 2019/03/24
- [elpa] externals/frog-menu c91a373 26/43: Adjust grid width default for avy-side-window, Clemens Radermacher, 2019/03/24
- [elpa] externals/frog-menu 8f58de5 24/43: Update description for new frog-menu-type avy-side-window, Clemens Radermacher, 2019/03/24