diff options
| -rw-r--r-- | doc/emacs/files.texi | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/doc/emacs/files.texi b/doc/emacs/files.texi index 9d6e62b5f30..04d2fc1c999 100644 --- a/doc/emacs/files.texi +++ b/doc/emacs/files.texi | |||
| @@ -1556,13 +1556,11 @@ not accept wildcard file names. | |||
| 1556 | 1556 | ||
| 1557 | In all these commands, if the argument @var{new} is just a directory | 1557 | In all these commands, if the argument @var{new} is just a directory |
| 1558 | name, the real new name is in that directory, with the same | 1558 | name, the real new name is in that directory, with the same |
| 1559 | non-directory component as @var{old}. For example, @kbd{M-x | 1559 | non-directory component as @var{old}. For example, |
| 1560 | rename-file @key{RET} ~/foo @key{RET} | 1560 | @c FIXME: '/tmp' should be '/tmp/' because '/tmp' |
| 1561 | @c FIXME: This part of the example should be '/tmp/' not '/tmp', | 1561 | @c is not "just a directory name". |
| 1562 | @c because '/tmp' is not "just a directory name". | 1562 | @kbd{M-x rename-file @key{RET} ~/foo @key{RET} /tmp @key{RET}} |
| 1563 | /tmp | 1563 | renames @file{~/foo} to @file{/tmp/foo}. All these |
| 1564 | @c | ||
| 1565 | @key{RET}} renames @file{~/foo} to @file{/tmp/foo}. All these | ||
| 1566 | commands ask for confirmation when the new file name already exists, | 1564 | commands ask for confirmation when the new file name already exists, |
| 1567 | too. | 1565 | too. |
| 1568 | 1566 | ||