branch: elpa/popup commit dbf62bf68d308c123991d435850b8afac9a10c76 Author: Igor Shymko <igor.shi...@gmail.com> Commit: Igor Shymko <igor.shi...@gmail.com>
readme updated --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 17e1a8c..3749b65 100644 --- a/README.md +++ b/README.md @@ -273,13 +273,14 @@ select an item of a list. popup-menu* list &key point around width height margin margin-left margin-right scroll-bar symbol parent parent-offset keymap - fallback help-delay nowait prompt isearch isearch-cursor-color + fallback help-delay nowait prompt isearch isearch-filter isearch-cursor-color isearch-keymap isearch-callback initial-index => selected-value Show a popup menu of `LIST` at `POINT`. This function returns the value of the selected item. Almost all arguments are same as `popup-create` except for `KEYMAP`, `FALLBACK`, `HELP-DELAY`, `PROMPT`, `ISEARCH`, -`ISEARCH-CURSOR-COLOR`, `ISEARCH-KEYMAP`, and `ISEARCH-CALLBACK`. +`ISEARCH-FILTER`, `ISEARCH-CURSOR-COLOR`, `ISEARCH-KEYMAP` +and `ISEARCH-CALLBACK`. If `KEYMAP` is provided, it is a keymap which is used when processing events during event loop. @@ -299,6 +300,9 @@ instance without entering event loop. If `ISEARCH` is non-nil, do isearch as soon as displaying the popup menu. +`ISEARCH-FILTER` is a filtering function taking two arguments: +search pattern and list of items. Returns a list of matching items. + `ISEARCH-CURSOR-COLOR` is a cursor color during isearch. The default value is `popup-isearch-cursor-color'.