X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Fmenubar.c;h=d48425d553239e4b28c11bd25ebd011204d6ceaf;hb=b073ad3949bbab4cf51e6c5de4725bb150b3ad11;hp=7641aae4a99b5064eb3a3aa44b849d641bc6410e;hpb=59eec5f21669e81977b5b1fe9bf717cab49cf7fb;p=chise%2Fxemacs-chise.git.1 diff --git a/src/menubar.c b/src/menubar.c index 7641aae..d48425d 100644 --- a/src/menubar.c +++ b/src/menubar.c @@ -232,7 +232,7 @@ See also 'find-menu-item'. } DEFUN ("popup-menu", Fpopup_menu, 1, 2, 0, /* -Pop up the given menu. +Pop up the menu described by MENU-DESCRIPTION. A menu description is a list of menu items, strings, and submenus. The first element of a menu must be a string, which is the name of the menu. @@ -312,10 +312,10 @@ For example: See menubar.el for many more examples. */ - (menu_desc, event)) + (menu_description, event)) { - struct frame *f = decode_frame(Qnil); - MAYBE_FRAMEMETH (f, popup_menu, (menu_desc,event)); + struct frame *f = decode_frame (Qnil); + MAYBE_FRAMEMETH (f, popup_menu, (menu_description, event)); return Qnil; } @@ -723,6 +723,7 @@ the actions of menu traversal keys in a commonly used PC operating system. */ ); Fprovide (intern ("menubar")); + Fprovide (intern ("menu-accelerator-support")); } void @@ -739,7 +740,7 @@ This is a specifier; use `set-specifier' to change it. offsetof (struct window, menubar_visible_p), menubar_visible_p_changed, offsetof (struct frame, menubar_visible_p), - menubar_visible_p_changed_in_frame); + menubar_visible_p_changed_in_frame, 0); } void