diff options
author | Glenn Morris <rgm@gnu.org> | 2017-08-17 21:49:27 -0400 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2017-08-17 21:49:27 -0400 |
commit | 7ab95461f7aa7e3d19eed99d6410dc25778a8f1b (patch) | |
tree | 10810b70ec05845a2514bc7ffddd074cd7c20f45 | |
parent | cb7aa6c4a33debd4e0b72e00f846df92f395a181 (diff) | |
download | emacs-7ab95461f7aa7e3d19eed99d6410dc25778a8f1b.tar.gz emacs-7ab95461f7aa7e3d19eed99d6410dc25778a8f1b.tar.bz2 emacs-7ab95461f7aa7e3d19eed99d6410dc25778a8f1b.zip |
* doc/emacs/files.texi (Copying and Naming): Avoid confusing texi2pdf.
-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. In all these commands, if the argument @var{new} is just a directory name, the real new name is in that directory, with the same -non-directory component as @var{old}. For example, @kbd{M-x -rename-file @key{RET} ~/foo @key{RET} -@c FIXME: This part of the example should be '/tmp/' not '/tmp', -@c because '/tmp' is not "just a directory name". -/tmp -@c -@key{RET}} renames @file{~/foo} to @file{/tmp/foo}. All these +non-directory component as @var{old}. For example, +@c FIXME: '/tmp' should be '/tmp/' because '/tmp' +@c is not "just a directory name". +@kbd{M-x rename-file @key{RET} ~/foo @key{RET} /tmp @key{RET}} +renames @file{~/foo} to @file{/tmp/foo}. All these commands ask for confirmation when the new file name already exists, too. |