src/fileio.c (Finsert_file_contents): If the file cannot be opened,
set its "size" to -1. This will set the modtime_size field of
the corresponding buffer to -1, which is what
verify-visited-file-modtime expects for files that do not exist.
+2011-09-11 Eli Zaretskii <eliz@gnu.org>
+
+ * fileio.c (Finsert_file_contents): If the file cannot be opened,
+ set its "size" to -1. This will set the modtime_size field of
+ the corresponding buffer to -1, which is what
+ verify-visited-file-modtime expects for files that do not exist.
+ (Bug#9139)
+
2011-09-11 Paul Eggert <eggert@cs.ucla.edu>
* keymap.h (KEY_DESCRIPTION_SIZE, push_key_description): Move decls
if (NILP (visit))
report_file_error ("Opening input file", Fcons (orig_filename, Qnil));
st.st_mtime = -1;
+ st.st_size = -1;
how_much = 0;
if (!NILP (Vcoding_system_for_read))
Fset (Qbuffer_file_coding_system, Vcoding_system_for_read);