aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1994-03-14 00:08:07 +0000
committerRichard M. Stallman1994-03-14 00:08:07 +0000
commit7464b1311d2a4280aa1d6bb1d223824e54f4d3c1 (patch)
treedf8533cf4e2ab826ae810772e343318a971bfcfd /src
parent6b4bde1b7c1c96f0296162a91ee8e2db766bac0a (diff)
downloademacs-7464b1311d2a4280aa1d6bb1d223824e54f4d3c1.tar.gz
emacs-7464b1311d2a4280aa1d6bb1d223824e54f4d3c1.zip
(Fx_popup_dialog): Define only if USE_X_TOOLKIT.
Diffstat (limited to 'src')
-rw-r--r--src/xmenu.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/xmenu.c b/src/xmenu.c
index 43811e751b7..2effc7c38d8 100644
--- a/src/xmenu.c
+++ b/src/xmenu.c
@@ -828,6 +828,8 @@ cached information about equivalent key sequences.")
828 return selection; 828 return selection;
829} 829}
830 830
831#ifdef USE_X_TOOLKIT
832
831DEFUN ("x-popup-dialog", Fx_popup_dialog, Sx_popup_dialog, 1, 2, 0, 833DEFUN ("x-popup-dialog", Fx_popup_dialog, Sx_popup_dialog, 1, 2, 0,
832 "Pop up a dialog box and return user's selection.\n\ 834 "Pop up a dialog box and return user's selection.\n\
833POSITION is a position specification. This is either a mouse button event\n\ 835POSITION is a position specification. This is either a mouse button event\n\
@@ -954,6 +956,7 @@ cached information about equivalent key sequences.")
954 if (error_name) error (error_name); 956 if (error_name) error (error_name);
955 return selection; 957 return selection;
956} 958}
959#endif
957 960
958#ifdef USE_X_TOOLKIT 961#ifdef USE_X_TOOLKIT
959 962
@@ -2097,5 +2100,7 @@ syms_of_xmenu ()
2097 2100
2098 popup_id_tick = (1<<16); 2101 popup_id_tick = (1<<16);
2099 defsubr (&Sx_popup_menu); 2102 defsubr (&Sx_popup_menu);
2103#ifdef USE_X_TOOLKIT
2100 defsubr (&Sx_popup_dialog); 2104 defsubr (&Sx_popup_dialog);
2105#endif
2101} 2106}