]> git.eshelyaron.com Git - emacs.git/commitdiff
(Finsert_file_contents): Fix test for unchanged file.
authorRichard M. Stallman <rms@gnu.org>
Fri, 15 Apr 1994 22:26:34 +0000 (22:26 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 15 Apr 1994 22:26:34 +0000 (22:26 +0000)
src/fileio.c

index cda88070d4abb8c6f621cea7695e613799af48e4..ba509f0ebec3317c6c8f95aecae1a885a0d6c3af 100644 (file)
@@ -2670,7 +2670,7 @@ and (2) it puts less data in the undo list.")
       immediate_quit = 0;
       /* If the file matches the buffer completely,
         there's no need to replace anything.  */
-      if (same_at_start == ZV)
+      if (same_at_start == st.st_size)
        {
          close (fd);
          specpdl_ptr--;