changeset 22478:7cb57c276eea

(Finsert_file_contents): Fix change to set INSERTED.
author Richard M. Stallman <rms@gnu.org>
date Sun, 14 Jun 1998 05:51:03 +0000
parents 9bc88c123895
children 1bc7dcbcb851
files src/fileio.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/fileio.c	Sat Jun 13 19:51:10 1998 +0000
+++ b/src/fileio.c	Sun Jun 14 05:51:03 1998 +0000
@@ -3314,7 +3314,7 @@
       val = call6 (handler, Qinsert_file_contents, filename,
 		   visit, beg, end, replace);
       if (CONSP (val) && CONSP (XCONS (val)->cdr))
-	inserted = XINT (XCONS (XCONS (val)->cdr)->cdr);
+	inserted = XINT (XCONS (XCONS (val)->cdr)->car);
       goto handled;
     }