HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b4bde1
)
(Fx_popup_dialog): Define only if USE_X_TOOLKIT.
author
Richard M. Stallman
<rms@gnu.org>
Mon, 14 Mar 1994 00:08:07 +0000
(
00:08
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Mon, 14 Mar 1994 00:08:07 +0000
(
00:08
+0000)
src/xmenu.c
patch
|
blob
|
blame
|
history
diff --git
a/src/xmenu.c
b/src/xmenu.c
index
43811e7
..
2effc7c
100644
(file)
--- a/
src/xmenu.c
+++ b/
src/xmenu.c
@@
-828,6
+828,8
@@
cached information about equivalent key sequences.")
return selection;
}
+#ifdef USE_X_TOOLKIT
+
DEFUN ("x-popup-dialog", Fx_popup_dialog, Sx_popup_dialog, 1, 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\
@@
-954,6
+956,7
@@
cached information about equivalent key sequences.")
if (error_name) error (error_name);
return selection;
}
+#endif
\f
#ifdef USE_X_TOOLKIT
@@
-2097,5
+2100,7
@@
syms_of_xmenu ()
popup_id_tick = (1<<16);
defsubr (&Sx_popup_menu);
+#ifdef USE_X_TOOLKIT
defsubr (&Sx_popup_dialog);
+#endif
}