From: Richard M. Stallman Date: Sat, 19 Mar 1994 05:34:45 +0000 (+0000) Subject: (Fx_popup_dialog, Fx_popup_menu): Require 2 args. X-Git-Tag: emacs-19.34~9428 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=540e52d1a9f441effae515100e1476b6bc4f2b11;p=emacs.git (Fx_popup_dialog, Fx_popup_menu): Require 2 args. --- diff --git a/src/xmenu.c b/src/xmenu.c index 0b6917664b4..c3de3ec9446 100644 --- a/src/xmenu.c +++ b/src/xmenu.c @@ -619,7 +619,7 @@ list_of_items (pane) } } -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 @@ cached information about equivalent key sequences.") 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\