Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
f64ba6ea
Commit
f64ba6ea
authored
May 19, 1993
by
Jim Blandy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* xfns.c (x_set_menu_bar_lines): Minibuffer-only frames can't have
menu bars.
parent
7e773fb4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
src/xfns.c
src/xfns.c
+7
-0
No files found.
src/xfns.c
View file @
f64ba6ea
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment