* xmenu.c (single_keymap_panes): Use it.
+2008-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * keymap.h (map_keymap_canonical): Declare.
+ * xmenu.c (single_keymap_panes): Use it.
+
2008-04-11 Glenn Morris <rgm@gnu.org>
* eval.c (Fdefvaralias): If the alias is bound and the target is not,
typedef void (*map_keymap_function_t)
P_ ((Lisp_Object key, Lisp_Object val, Lisp_Object args, void* data));
extern void map_keymap P_ ((Lisp_Object map, map_keymap_function_t fun, Lisp_Object largs, void* cargs, int autoload));
+extern void map_keymap_canonical (Lisp_Object map,
+ map_keymap_function_t fun,
+ Lisp_Object args, void *data);
#endif
#endif
GCPRO1 (skp.pending_maps);
- map_keymap (keymap, single_menu_item, Qnil, &skp, 1);
+ map_keymap_canonical (keymap, single_menu_item, Qnil, &skp);
UNGCPRO;
/* Process now any submenus which want to be panes at this level. */