XEmacs 21.2.12
[chise/xemacs-chise.git.1] / src / menubar.c
index 7b1fb16..bd03ead 100644 (file)
@@ -109,7 +109,7 @@ menu_parse_submenu_keywords (Lisp_Object desc, struct gui_item* pgui_item)
 
   /* First element may be menu name, although can be omitted.
      Let's think that if stuff begins with anything than a keyword
-     or a list (submenu), this is a menu name, expected to be a stirng */
+     or a list (submenu), this is a menu name, expected to be a string */
   if (!KEYWORDP (XCAR (desc)) && !CONSP (XCAR (desc)))
     {
       CHECK_STRING (XCAR (desc));
@@ -130,7 +130,7 @@ menu_parse_submenu_keywords (Lisp_Object desc, struct gui_item* pgui_item)
       desc = XCDR (desc);
       if (!NILP (desc))
        CHECK_CONS (desc);
-      gui_item_add_keyval_pair (pgui_item, key, val);
+      gui_item_add_keyval_pair (pgui_item, key, val, ERROR_ME);
     }
 
   /* Return the rest - supposed to be a list of items */
@@ -156,7 +156,7 @@ See also 'find-menu-item'.
 
   gui_item_init (&gui_item);
   GCPRO_GUI_ITEM (&gui_item);
-  
+
   EXTERNAL_LIST_LOOP (path_entry, path)
     {
       /* Verify that DESC describes a menu, not single item */
@@ -501,6 +501,13 @@ The possible keywords are this:
                     Basically, the filter function should have no
                     side-effects.
 
+ :key-sequence keys  Used in FSF Emacs as an hint to an equivalent keybinding.
+                     Ignored by XEnacs for easymenu.el compatability.
+
+ :label <form>       (unimplemented!) Like :suffix, but replaces label
+                     completely.
+                     (might be added in 21.2).
+
 For example:
 
  ("File"