From: Nick Roberts Date: Tue, 24 May 2005 08:45:35 +0000 (+0000) Subject: (Fx_popup_dialog): Allow 3rd optional argument. X-Git-Tag: ttn-vms-21-2-B4~25 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=16b126681275cd7e365215d7b7455e544b510077;p=emacs.git (Fx_popup_dialog): Allow 3rd optional argument. --- diff --git a/src/macmenu.c b/src/macmenu.c index b2c7242c04e..54393bca594 100644 --- a/src/macmenu.c +++ b/src/macmenu.c @@ -823,7 +823,7 @@ cached information about equivalent key sequences. */) #ifdef HAVE_MENUS -DEFUN ("x-popup-dialog", Fx_popup_dialog, Sx_popup_dialog, 2, 2, 0, +DEFUN ("x-popup-dialog", Fx_popup_dialog, Sx_popup_dialog, 2, 3, 0, doc: /* Pop up a dialog box and return user's selection. POSITION specifies which frame to use. This is normally a mouse button event or a window or frame. diff --git a/src/w32menu.c b/src/w32menu.c index 32441e4a351..8a90eae7ec7 100644 --- a/src/w32menu.c +++ b/src/w32menu.c @@ -845,7 +845,7 @@ cached information about equivalent key sequences. */) #ifdef HAVE_MENUS -DEFUN ("x-popup-dialog", Fx_popup_dialog, Sx_popup_dialog, 2, 2, 0, +DEFUN ("x-popup-dialog", Fx_popup_dialog, Sx_popup_dialog, 2, 3, 0, doc: /* Pop up a dialog box and return user's selection. POSITION specifies which frame to use. This is normally a mouse button event or a window or frame.