Mercurial > emacs
comparison lispref/files.texi @ 28853:3259733d5ea0
write-region change
author | Dave Love <fx@gnu.org> |
---|---|
date | Wed, 10 May 2000 19:40:18 +0000 |
parents | bf112ad58dc7 |
children | 2c2ed2dae36f |
comparison
equal
deleted
inserted
replaced
28852:3c430bf1873f | 28853:3259733d5ea0 |
---|---|
548 If @var{start} is a string, then @code{write-region} writes or appends | 548 If @var{start} is a string, then @code{write-region} writes or appends |
549 that string, rather than text from the buffer. @var{end} is ignored in | 549 that string, rather than text from the buffer. @var{end} is ignored in |
550 this case. | 550 this case. |
551 | 551 |
552 If @var{append} is non-@code{nil}, then the specified text is appended | 552 If @var{append} is non-@code{nil}, then the specified text is appended |
553 to the existing file contents (if any). | 553 to the existing file contents (if any). Starting in Emacs 21, if |
554 @var{append} is an integer, then @code{write-region} seeks to that byte | |
555 offset from the start of the file and writes the data from there. | |
554 | 556 |
555 If @var{mustbenew} is non-@code{nil}, then @code{write-region} asks | 557 If @var{mustbenew} is non-@code{nil}, then @code{write-region} asks |
556 for confirmation if @var{filename} names an existing file. | 558 for confirmation if @var{filename} names an existing file. |
557 Starting in Emacs 21, if @var{mustbenew} is the symbol @code{excl}, | 559 Starting in Emacs 21, if @var{mustbenew} is the symbol @code{excl}, |
558 then @code{write-region} does not ask for confirmation, but instead | 560 then @code{write-region} does not ask for confirmation, but instead |