summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Roberts <nickrob@snap.net.nz>2005-05-24 08:45:35 +0000
committerNick Roberts <nickrob@snap.net.nz>2005-05-24 08:45:35 +0000
commit16b126681275cd7e365215d7b7455e544b510077 (patch)
tree7826aea8fb552683ab855d5f6fd16f4a7a02dc8b
parent3f2975360cb2d43c48e113581dd1b8a0f8af7c0f (diff)
downloademacs-16b126681275cd7e365215d7b7455e544b510077.tar.gz
(Fx_popup_dialog): Allow 3rd optional argument.
-rw-r--r--src/macmenu.c2
-rw-r--r--src/w32menu.c2
2 files changed, 2 insertions, 2 deletions
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.