# HG changeset patch # User Richard M. Stallman # Date 764055285 0 # Node ID b3d22929b7c19f7435297ee7143777668653bc74 # Parent 5f52d469e0c81004c4b0af8b9036ff9ed9b29dcf (Fx_popup_dialog, Fx_popup_menu): Require 2 args. diff -r 5f52d469e0c8 -r b3d22929b7c1 src/xmenu.c --- a/src/xmenu.c Sat Mar 19 05:34:11 1994 +0000 +++ b/src/xmenu.c Sat Mar 19 05:34:45 1994 +0000 @@ -619,7 +619,7 @@ } } -DEFUN ("x-popup-menu", Fx_popup_menu, Sx_popup_menu, 1, 2, 0, +DEFUN ("x-popup-menu", Fx_popup_menu, Sx_popup_menu, 2, 2, 0, "Pop up a deck-of-cards menu and return user's selection.\n\ POSITION is a position specification. This is either a mouse button event\n\ or a list ((XOFFSET YOFFSET) WINDOW)\n\ @@ -834,7 +834,7 @@ return selection; } -DEFUN ("x-popup-dialog", Fx_popup_dialog, Sx_popup_dialog, 1, 2, 0, +DEFUN ("x-popup-dialog", Fx_popup_dialog, Sx_popup_dialog, 2, 2, 0, "Pop up a dialog box and return user's selection.\n\ POSITION is a position specification. This is either a mouse button event\n\ or a list ((XOFFSET YOFFSET) WINDOW)\n\