[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lispref/files.texi
From: |
Richard M . Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/lispref/files.texi |
Date: |
Sun, 06 Mar 2005 13:14:34 -0500 |
Index: emacs/lispref/files.texi
diff -c emacs/lispref/files.texi:1.73 emacs/lispref/files.texi:1.74
*** emacs/lispref/files.texi:1.73 Thu Feb 3 07:01:04 2005
--- emacs/lispref/files.texi Sun Mar 6 18:14:33 2005
***************
*** 578,593 ****
this case.
If @var{append} is address@hidden, then the specified text is appended
! to the existing file contents (if any). Starting in Emacs 21, if
! @var{append} is an integer, then @code{write-region} seeks to that byte
! offset from the start of the file and writes the data from there.
If @var{mustbenew} is address@hidden, then @code{write-region} asks
! for confirmation if @var{filename} names an existing file.
! Starting in Emacs 21, if @var{mustbenew} is the symbol @code{excl},
! then @code{write-region} does not ask for confirmation, but instead
! it signals an error @code{file-already-exists} if the file already
! exists.
The test for an existing file, when @var{mustbenew} is @code{excl}, uses
a special system feature. At least for files on a local disk, there is
--- 578,592 ----
this case.
If @var{append} is address@hidden, then the specified text is appended
! to the existing file contents (if any). If @var{append} is an
! integer, @code{write-region} seeks to that byte offset from the start
! of the file and writes the data from there.
If @var{mustbenew} is address@hidden, then @code{write-region} asks
! for confirmation if @var{filename} names an existing file. If
! @var{mustbenew} is the symbol @code{excl}, then @code{write-region}
! does not ask for confirmation, but instead it signals an error
! @code{file-already-exists} if the file already exists.
The test for an existing file, when @var{mustbenew} is @code{excl}, uses
a special system feature. At least for files on a local disk, there is
***************
*** 2013,2019 ****
@subsection Generating Unique File Names
Some programs need to write temporary files. Here is the usual way to
! construct a name for such a file, starting in Emacs 21:
@example
(make-temp-file @var{name-of-application})
--- 2012,2018 ----
@subsection Generating Unique File Names
Some programs need to write temporary files. Here is the usual way to
! construct a name for such a file:
@example
(make-temp-file @var{name-of-application})
***************
*** 2106,2112 ****
@tindex small-temporary-file-directory
@defvar small-temporary-file-directory
! This variable (new in Emacs 21) specifies the directory name for
creating certain temporary files, which are likely to be small.
If you want to write a temporary file which is likely to be small, you
--- 2105,2111 ----
@tindex small-temporary-file-directory
@defvar small-temporary-file-directory
! This variable specifies the directory name for
creating certain temporary files, which are likely to be small.
If you want to write a temporary file which is likely to be small, you
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/lispref/files.texi,
Richard M . Stallman <=