# HG changeset patch # User Richard M. Stallman # Date 850715613 0 # Node ID c39faead2472b29562dff81d6ceb66a933013132 # Parent 7df45948d2d8e5dca28ff827979c6d4583bc19e0 Fix previous change. diff -r 7df45948d2d8 -r c39faead2472 src/fileio.c --- a/src/fileio.c Mon Dec 16 05:46:37 1996 +0000 +++ b/src/fileio.c Mon Dec 16 05:53:33 1996 +0000 @@ -2998,11 +2998,14 @@ The optional third and fourth arguments BEG and END\n\ specify what portion of the file to insert.\n\ If VISIT is non-nil, BEG and END must be nil.\n\ +\n\ If optional fifth argument REPLACE is non-nil,\n\ it means replace the current buffer contents (in the accessible portion)\n\ with the file contents. This is better than simply deleting and inserting\n\ the whole thing because (1) it preserves some marker positions\n\ -and (2) it puts less data in the undo list.") +and (2) it puts less data in the undo list.\n\ +When REPLACE is non-nil, the value is the number of characters actually read,\n\ +which is often less than the number of characters to be read.") (filename, visit, beg, end, replace) Lisp_Object filename, visit, beg, end, replace; {