custom-menu-filter
custom-menu-filter is a compiled Lisp function in `cus-edit.el
'.
(custom-menu-filter MENU WIDGET)
Convert MENU to the form used by `widget-choose'.
MENU should be in the same format as `custom-variable-menu'.
WIDGET is the widget to apply the filter entries of MENU on.