Mercurial > hg > xemacs-beta
diff src/menubar.c @ 20:859a2309aef8 r19-15b93
Import from CVS: tag r19-15b93
author | cvs |
---|---|
date | Mon, 13 Aug 2007 08:50:05 +0200 |
parents | 376386a54a3c |
children | 2d532a89d707 |
line wrap: on
line diff
--- a/src/menubar.c Mon Aug 13 08:49:44 2007 +0200 +++ b/src/menubar.c Mon Aug 13 08:50:05 2007 +0200 @@ -91,7 +91,7 @@ update_frame_menubars (f); } -DEFUN ("popup-menu", Fpopup_menu, Spopup_menu, 1, 2, 0 /* +DEFUN ("popup-menu", Fpopup_menu, 1, 2, 0, /* Pop up the given menu. A menu description is a list of menu items, strings, and submenus. @@ -169,9 +169,8 @@ [ \"Read Only\" toggle-read-only :style toggle :selected buffer-read-only ] See menubar.el for many more examples. -*/ ) - (menu_desc, event) - Lisp_Object menu_desc, event; +*/ + (menu_desc, event)) { struct frame *f = decode_frame(Qnil); MAYBE_FRAMEMETH (f, popup_menu, (menu_desc,event)); @@ -182,7 +181,7 @@ syms_of_menubar (void) { defsymbol (&Qcurrent_menubar, "current-menubar"); - defsubr (&Spopup_menu); + DEFSUBR (Fpopup_menu); } void