Mercurial > hg > xemacs-beta
diff lisp/code-files.el @ 4205:579f03038f61
[xemacs-hg @ 2007-10-02 20:08:57 by aidan]
Document that START and END are zero-based for insert-file-contents.
author | aidan |
---|---|
date | Tue, 02 Oct 2007 20:09:01 +0000 |
parents | 4cc3828e29bb |
children | c5a2b80bc4fa |
line wrap: on
line diff
--- a/lisp/code-files.el Tue Oct 02 19:49:02 2007 +0000 +++ b/lisp/code-files.el Tue Oct 02 20:09:01 2007 +0000 @@ -357,8 +357,11 @@ If visiting and the file does not exist, visiting is completed before the error is signaled. -The optional third and fourth arguments START and END -specify what portion of the file to insert. +The optional third and fourth arguments START and END specify what portion +of the file to insert, and start at zero, in direct and needless contrast to +buffer offsets. That is, values of 0 and 10 for START and END respectively +will give the first ten octets of a file. + If VISIT is non-nil, START and END must be nil. If optional fifth argument REPLACE is non-nil, it means replace the current buffer contents (in the accessible portion)