branch: externals/frog-menu commit a5f31be753befcf8f9b9d1a23a61ae76d1616f5b Author: Clemens Radermacher <clem...@posteo.net> Commit: Clemens Radermacher <clem...@posteo.net>
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)