]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fx_popup_dialog, Fx_popup_menu): Require 2 args.
authorRichard M. Stallman <rms@gnu.org>
Sat, 19 Mar 1994 05:34:45 +0000 (05:34 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 19 Mar 1994 05:34:45 +0000 (05:34 +0000)
src/xmenu.c

index 0b6917664b46077d2bff003649ff4faf7dcb2a7c..c3de3ec94465b9cb28cd4bbfb1dada6be98b4934 100644 (file)
@@ -619,7 +619,7 @@ list_of_items (pane)
     }
 }
 \f
-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\