{
Lisp_Object handler;
int tem;
- struct gcpro gcpro1;
/* If the file name has special constructs in it,
call the corresponding file handler. */
/* 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;
}
/* 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)