I don't think it's right to compile and link in xmenu.c on platforms where menus are not supported on the C level. If we want to show keyboard equivalents in tmm, we should find another way of gleaning them, without calling x-popup-menu.
I see no reason to duplicate this code. If x-popup-menu can operate at run time, for this limited purpose, without a window system, it should not be hard to make it do the same job when compiled without a window system. _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel