# HG changeset patch # User Richard M. Stallman # Date 756785861 0 # Node ID 8e1536744d7ebbeb9f061586d71afbb7ff8cdb1c # Parent 722bd9d45ab23944641ff8ec902b355a14f7139b (Fwrite_region): If handler, don't mess with modtime. (Finsert_file_contents): Likewise. diff -r 722bd9d45ab2 -r 8e1536744d7e src/fileio.c --- a/src/fileio.c Sat Dec 25 02:13:37 1993 +0000 +++ b/src/fileio.c Sat Dec 25 02:17:41 1993 +0000 @@ -2411,7 +2411,6 @@ if (!NILP (handler)) { val = call5 (handler, Qinsert_file_contents, filename, visit, beg, end); - st.st_mtime = 0; goto handled; } @@ -2656,12 +2655,8 @@ val = call6 (handler, Qwrite_region, start, end, filename, append, visit); - /* Do this before reporting IO error - to avoid a "file has changed on disk" warning on - next attempt to save. */ if (visiting) { - current_buffer->modtime = 0; current_buffer->save_modified = MODIFF; XFASTINT (current_buffer->save_length) = Z - BEG; current_buffer->filename = visit_file;