Commit f64ba6ea authored by Jim Blandy's avatar Jim Blandy

* xfns.c (x_set_menu_bar_lines): Minibuffer-only frames can't have

	menu bars.
parent 7e773fb4
......@@ -895,6 +895,13 @@ x_set_menu_bar_lines (f, value, oldval)
int nlines;
int olines = FRAME_MENU_BAR_LINES (f);
/* Right now, menu bars don't work properly in minibuf-only frames;
most of the commands try to apply themselves to the minibuffer
frame itslef, and get an error because you can't switch buffers
in or split the minibuffer window. */
if (FRAME_MINBUF_ONLY_P (f))
return;
if (XTYPE (value) == Lisp_Int)
nlines = XINT (value);
else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment