summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-12-16 05:53:33 +0000
committerRichard M. Stallman <rms@gnu.org>1996-12-16 05:53:33 +0000
commit57b42f1f7010cca5fafda72d1a5a5aa7092222ee (patch)
tree3897c6b1c8dd44aff7141388cad036ab67b10274 /src
parent6819716954cb7a0e55ba48db59d85179c6547b77 (diff)
downloademacs-57b42f1f7010cca5fafda72d1a5a5aa7092222ee.tar.gz
Fix previous change.
Diffstat (limited to 'src')
-rw-r--r--src/fileio.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c
index 9b09b0e32c0..9d7fa4aadd4 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -2998,11 +2998,14 @@ before the error is signaled.\n\n\
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;
{