A callback function should be passed to `map-keymap'. However, the description of the callback function seems to be missing (undocumented). For example, the value does not seems to always be a function. It is sometimes an alist, sometimes a more complicated list. I think this might have never been documented. If it is documented, it would be greatly appreciated if a pointer to the actual documentation can be added to the document of `map-keymap'. Hong