Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
57629833
Commit
57629833
authored
Feb 02, 2000
by
Gerd Moellmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(Fframe_parameters): Add GCPRO because tty_color_name can GC.
parent
6ea3b61f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
src/frame.c
src/frame.c
+5
-0
No files found.
src/frame.c
View file @
57629833
...
...
@@ -1991,6 +1991,7 @@ If FRAME is omitted, return information on the currently selected frame.")
Lisp_Object
alist
;
FRAME_PTR
f
;
int
height
,
width
;
struct
gcpro
gcpro1
;
if
(
EQ
(
frame
,
Qnil
))
frame
=
selected_frame
;
...
...
@@ -2002,6 +2003,8 @@ If FRAME is omitted, return information on the currently selected frame.")
return
Qnil
;
alist
=
Fcopy_alist
(
f
->
param_alist
);
GCPRO1
(
alist
);
if
(
!
FRAME_WINDOW_P
(
f
))
{
int
fg
=
FRAME_FOREGROUND_PIXEL
(
f
);
...
...
@@ -2042,6 +2045,8 @@ If FRAME is omitted, return information on the currently selected frame.")
XSETFASTINT
(
lines
,
FRAME_MENU_BAR_LINES
(
f
));
store_in_alist
(
&
alist
,
Qmenu_bar_lines
,
lines
);
}
UNGCPRO
;
return
alist
;
}
...
...
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