summaryrefslogtreecommitdiff
path: root/src/xdisp.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-10-31 14:27:13 +0000
committerRichard M. Stallman <rms@gnu.org>1995-10-31 14:27:13 +0000
commit9d34cf834f5af6a34b53f64bdc51041d8023d0fe (patch)
tree7ff7b6ac799000d0ee261ddd5572e24568812ac3 /src/xdisp.c
parent1180af9fb16d82b38d32a0d236cdee85cde86a5b (diff)
downloademacs-9d34cf834f5af6a34b53f64bdc51041d8023d0fe.tar.gz
Add some commented-out code.
Diffstat (limited to 'src/xdisp.c')
-rw-r--r--src/xdisp.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index 6c8bef40496..f3876c9d020 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -3164,6 +3164,19 @@ display_menu_bar (w)
get_display_line (f, vpos, 0);
+#if 0
+ /* Show in the menu bar how to invoke it. */
+ if (!FRAME_X_P (f))
+ {
+ hpos = display_string (XWINDOW (FRAME_ROOT_WINDOW (f)), vpos,
+ "M-`", 3,
+ hpos, 0, 0, hpos, maxendcol);
+ /* Put 2 spaces after it. */
+ hpos = display_string (w, vpos, "", 0, hpos, 0, 0,
+ hpos + 2, maxendcol);
+ }
+#endif
+
items = FRAME_MENU_BAR_ITEMS (f);
for (i = 0; i < XVECTOR (items)->size; i += 3)
{