Don't claim to signal an error when deleting a nonexisting file.
The behavior has changed in commit
1a65afb7ec
to no longer signal an error
on ENOENT.
* doc/lispref/files.texi (Changing Files): Fix documentation about
error reporting.
This commit is contained in:
parent
4fd254e183
commit
89068516b3
1 changed files with 4 additions and 3 deletions
|
@ -1865,9 +1865,10 @@ multiple names, it continues to exist under the other names. If
|
|||
@var{filename} is a symbolic link, @code{delete-file} deletes only the
|
||||
symbolic link and not its target.
|
||||
|
||||
A suitable kind of @code{file-error} error is signaled if the file
|
||||
does not exist, or is not deletable. (On GNU and other POSIX-like
|
||||
systems, a file is deletable if its directory is writable.)
|
||||
A suitable kind of @code{file-error} error is signaled is not
|
||||
deletable. (On GNU and other POSIX-like systems, a file is deletable
|
||||
if its directory is writable.) No error is signaled if the file does
|
||||
not exist.
|
||||
|
||||
If the optional argument @var{trash} is non-@code{nil} and the
|
||||
variable @code{delete-by-moving-to-trash} is non-@code{nil}, this
|
||||
|
|
Loading…
Add table
Reference in a new issue