]> git.eshelyaron.com Git - emacs.git/commitdiff
(Finsert_file_contents): After calling handler,
authorKenichi Handa <handa@m17n.org>
Fri, 12 Jun 1998 08:35:09 +0000 (08:35 +0000)
committerKenichi Handa <handa@m17n.org>
Fri, 12 Jun 1998 08:35:09 +0000 (08:35 +0000)
get INSERTED from the handler's value.

src/fileio.c

index 742c7ad95fe7dbee60bb239adeefca5edc4010d3..5c81f0a2088bb71b333493f1965d435194e5e234 100644 (file)
@@ -3334,6 +3334,8 @@ actually used.")
     {
       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);
       goto handled;
     }