aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fileio.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/fileio.c b/src/fileio.c
index e768d48c6d2..4a1fe76bdd1 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -2383,7 +2383,6 @@ searchable directory.")
2383{ 2383{
2384 Lisp_Object handler; 2384 Lisp_Object handler;
2385 int tem; 2385 int tem;
2386 struct gcpro gcpro1;
2387 2386
2388 /* If the file name has special constructs in it, 2387 /* If the file name has special constructs in it,
2389 call the corresponding file handler. */ 2388 call the corresponding file handler. */
@@ -2393,10 +2392,8 @@ searchable directory.")
2393 2392
2394 /* Need to gcpro in case the first function call has a handler that 2393 /* Need to gcpro in case the first function call has a handler that
2395 causes filename to be relocated. */ 2394 causes filename to be relocated. */
2396 GCPRO1 (filename);
2397 tem = (NILP (Ffile_directory_p (filename)) 2395 tem = (NILP (Ffile_directory_p (filename))
2398 || NILP (Ffile_executable_p (filename))); 2396 || NILP (Ffile_executable_p (filename)));
2399 UNGCPRO;
2400 return tem ? Qnil : Qt; 2397 return tem ? Qnil : Qt;
2401} 2398}
2402 2399
@@ -3271,9 +3268,7 @@ to the file, instead of any buffer contents, and END is ignored.")
3271 /* Discard the unwind protect for close_file_unwind. */ 3268 /* Discard the unwind protect for close_file_unwind. */
3272 specpdl_ptr = specpdl + count1; 3269 specpdl_ptr = specpdl + count1;
3273 /* Restore the original current buffer. */ 3270 /* Restore the original current buffer. */
3274 GCPRO1 (visit_file); 3271 visit_file = unbind_to (count, visit_file);
3275 unbind_to (count);
3276 UNGCPRO;
3277 3272
3278#ifdef CLASH_DETECTION 3273#ifdef CLASH_DETECTION
3279 if (!auto_saving) 3274 if (!auto_saving)