summaryrefslogtreecommitdiff
path: root/src/fileio.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1993-12-25 02:17:41 +0000
committerRichard M. Stallman <rms@gnu.org>1993-12-25 02:17:41 +0000
commitc9d14ebc7462e8ea27d6223ead2f03a7e1dfeab0 (patch)
tree54249b5c4dd6d92659a98cca29bb4ba15ec18bfa /src/fileio.c
parentaec81cb6417d235bd72495df86a6677b5f261701 (diff)
downloademacs-c9d14ebc7462e8ea27d6223ead2f03a7e1dfeab0.tar.gz
(Fwrite_region): If handler, don't mess with modtime.
(Finsert_file_contents): Likewise.
Diffstat (limited to 'src/fileio.c')
-rw-r--r--src/fileio.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/fileio.c b/src/fileio.c
index 25860721709..cb06ce57b86 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -2411,7 +2411,6 @@ If VISIT is non-nil, BEG and END must be nil.")
if (!NILP (handler))
{
val = call5 (handler, Qinsert_file_contents, filename, visit, beg, end);
- st.st_mtime = 0;
goto handled;
}
@@ -2656,12 +2655,8 @@ to the file, instead of any buffer contents, and END is ignored.")
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;