diff options
| author | Eli Zaretskii | 2015-10-19 08:31:58 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2015-10-19 08:31:58 +0300 |
| commit | bca2bc4fe973d3b40b58805c4b426757f5c85dc8 (patch) | |
| tree | 8edc41308d1e6c9d3a7e504f2cb20a625b1c827e | |
| parent | b03150f6ebea1a49f7061a3caf184c6e7e6490c7 (diff) | |
| download | emacs-bca2bc4fe973d3b40b58805c4b426757f5c85dc8.tar.gz emacs-bca2bc4fe973d3b40b58805c4b426757f5c85dc8.zip | |
Improve documentation of functions that change files
* doc/lispref/files.texi (Changing Files): Document that these
functions signal an error on failure.
| -rw-r--r-- | doc/lispref/files.texi | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/lispref/files.texi b/doc/lispref/files.texi index db2ecc08f95..4d2761ed419 100644 --- a/doc/lispref/files.texi +++ b/doc/lispref/files.texi | |||
| @@ -1481,7 +1481,10 @@ in @code{exec-path}, and tries all the file-name extensions in | |||
| 1481 | @cindex setting modes of files | 1481 | @cindex setting modes of files |
| 1482 | 1482 | ||
| 1483 | The functions in this section rename, copy, delete, link, and set | 1483 | The functions in this section rename, copy, delete, link, and set |
| 1484 | the modes (permissions) of files. | 1484 | the modes (permissions) of files. They all signal a @code{file-error} |
| 1485 | error if they fail to perform their function, reporting the | ||
| 1486 | system-dependent error message that describes the reason for the | ||
| 1487 | failure. | ||
| 1485 | 1488 | ||
| 1486 | In the functions that have an argument @var{newname}, if a file by the | 1489 | In the functions that have an argument @var{newname}, if a file by the |
| 1487 | name of @var{newname} already exists, the actions taken depend on the | 1490 | name of @var{newname} already exists, the actions taken depend on the |