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
ebfe97a2
Commit
ebfe97a2
authored
Jul 20, 2005
by
Kim F. Storm
Browse files
(load_unwind): Rework last change.
parent
fff7e982
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
src/lread.c
src/lread.c
+5
-5
No files found.
src/lread.c
View file @
ebfe97a2
...
...
@@ -953,12 +953,12 @@ Return t if file exists. */)
}
static
Lisp_Object
load_unwind
(
stream
)
/* used as unwind-protect function in load */
Lisp_Object
stream
;
load_unwind
(
arg
)
/* used as unwind-protect function in load */
Lisp_Object
arg
;
{
struct
Lisp_Save_Value
*
p
=
XSAVE_VALUE
(
stream
)
;
fclose
(
(
FILE
*
)
p
->
pointer
);
FILE
*
stream
=
(
FILE
*
)
XSAVE_VALUE
(
arg
)
->
pointer
;
if
(
stream
!=
NULL
)
fclose
(
stream
);
if
(
--
load_in_progress
<
0
)
load_in_progress
=
0
;
return
Qnil
;
}
...
...
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