Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
f8ea8499
Commit
f8ea8499
authored
Jul 01, 1994
by
Paul Reilly
Browse files
(Fx_create_frame): Add GC protection for local var `f'.
parent
69c38b46
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
src/xfns.c
src/xfns.c
+5
-0
No files found.
src/xfns.c
View file @
f8ea8499
...
...
@@ -2264,6 +2264,7 @@ be shared by the new frame.")
long window_prompting = 0;
int width, height;
int count = specpdl_ptr - specpdl;
struct gcpro gcpro1;
check_x ();
...
...
@@ -2305,6 +2306,8 @@ be shared by the new frame.")
}
XSET (frame, Lisp_Frame, f);
GCPRO1 (frame);
f->output_method = output_x_window;
f->display.x = (struct x_display *) xmalloc (sizeof (struct x_display));
bzero (f->display.x, sizeof (struct x_display));
...
...
@@ -2436,6 +2439,8 @@ be shared by the new frame.")
tem = x_get_arg (parms, Qunsplittable, 0, 0, boolean);
f->no_split = minibuffer_only || EQ (tem, Qt);
UNGCPRO;
/* It is now ok to make the frame official
even if we get an error below.
And the frame needs to be on Vframe_list
...
...
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