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
98295b48
Commit
98295b48
authored
Aug 30, 1994
by
Richard M. Stallman
Browse files
(Ffile_accessible_directory_p): No need for gcpro.
(Fwrite_region): unbind_to should take two args.
parent
8fdae34a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
src/fileio.c
src/fileio.c
+1
-6
No files found.
src/fileio.c
View file @
98295b48
...
...
@@ -2383,7 +2383,6 @@ searchable directory.")
{
Lisp_Object handler;
int tem;
struct
gcpro
gcpro1
;
/* If the file name has special constructs in it,
call the corresponding file handler. */
...
...
@@ -2393,10 +2392,8 @@ searchable directory.")
/* Need to gcpro in case the first function call has a handler that
causes filename to be relocated. */
GCPRO1
(
filename
);
tem = (NILP (Ffile_directory_p (filename))
|| NILP (Ffile_executable_p (filename)));
UNGCPRO
;
return tem ? Qnil : Qt;
}
...
...
@@ -3271,9 +3268,7 @@ to the file, instead of any buffer contents, and END is ignored.")
/* Discard the unwind protect for close_file_unwind. */
specpdl_ptr = specpdl + count1;
/* Restore the original current buffer. */
GCPRO1
(
visit_file
);
unbind_to
(
count
);
UNGCPRO
;
visit_file = unbind_to (count, visit_file);
#ifdef CLASH_DETECTION
if (!auto_saving)
...
...
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