From 540e52d1a9f441effae515100e1476b6bc4f2b11 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 19 Mar 1994 05:34:45 +0000 Subject: [PATCH] (Fx_popup_dialog, Fx_popup_menu): Require 2 args. --- src/xmenu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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\ -- 2.39.5