diff options
| author | Chong Yidong | 2011-08-28 17:07:10 -0400 |
|---|---|---|
| committer | Chong Yidong | 2011-08-28 17:07:10 -0400 |
| commit | a6326082984c2f0afa9d4ec104bc9df058cc5ef8 (patch) | |
| tree | ffd8a36baea9eb30fc0c7f4b6aa36c09bc090c94 /doc/lispref | |
| parent | 6bc8cd6546ad666b4d2ef3cbbbcbd8b904f5f34f (diff) | |
| download | emacs-a6326082984c2f0afa9d4ec104bc9df058cc5ef8.tar.gz emacs-a6326082984c2f0afa9d4ec104bc9df058cc5ef8.zip | |
Document copy-directory and related changes in manuals.
* doc/emacs/buffers.texi (Misc Buffer): Move view-buffer to View Mode.
* doc/emacs/display.texi (View Mode): New node. Move view-file here from
Misc File Ops. Move view-buffer here from Misc Buffer.
* doc/emacs/files.texi (Misc File Ops): Document new
delete-by-moving-to-trash behavior. Remove view-file.
* doc/lispref/files.texi (Changing Files, Create/Delete Dirs): Document new
arguments for delete-file, delete-directory, and copy-directory.
Diffstat (limited to 'doc/lispref')
| -rw-r--r-- | doc/lispref/ChangeLog | 4 | ||||
| -rw-r--r-- | doc/lispref/files.texi | 11 |
2 files changed, 10 insertions, 5 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index a778cd92518..b0328dba3f1 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | 2011-08-28 Chong Yidong <cyd@stupidchicken.com> | 1 | 2011-08-28 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 2 | ||
| 3 | * files.texi (Changing Files, Create/Delete Dirs): Document TRASH | 3 | * files.texi (Changing Files, Create/Delete Dirs): Document new |
| 4 | argument. | 4 | arguments for delete-file, delete-directory, and copy-directory. |
| 5 | 5 | ||
| 6 | * frames.texi (Layout Parameters): The defaults for the | 6 | * frames.texi (Layout Parameters): The defaults for the |
| 7 | menu-bar-lines and tool-bar-lines parameters depend on the mode. | 7 | menu-bar-lines and tool-bar-lines parameters depend on the mode. |
diff --git a/doc/lispref/files.texi b/doc/lispref/files.texi index c83defb433c..25afb810a88 100644 --- a/doc/lispref/files.texi +++ b/doc/lispref/files.texi | |||
| @@ -2514,7 +2514,7 @@ if they don't already exist. | |||
| 2514 | @code{mkdir} is an alias for this. | 2514 | @code{mkdir} is an alias for this. |
| 2515 | @end deffn | 2515 | @end deffn |
| 2516 | 2516 | ||
| 2517 | @deffn Command copy-directory dirname newname &optional keep-time parents | 2517 | @deffn Command copy-directory dirname newname &optional keep-time parents copy-contents |
| 2518 | This command copies the directory named @var{dirname} to | 2518 | This command copies the directory named @var{dirname} to |
| 2519 | @var{newname}. If @var{newname} names an existing directory, | 2519 | @var{newname}. If @var{newname} names an existing directory, |
| 2520 | @var{dirname} will be copied to a subdirectory there. | 2520 | @var{dirname} will be copied to a subdirectory there. |
| @@ -2522,13 +2522,18 @@ This command copies the directory named @var{dirname} to | |||
| 2522 | It always sets the file modes of the copied files to match the | 2522 | It always sets the file modes of the copied files to match the |
| 2523 | corresponding original file. | 2523 | corresponding original file. |
| 2524 | 2524 | ||
| 2525 | The third arg @var{keep-time} non-@code{nil} means to preserve the | 2525 | The third argument @var{keep-time} non-@code{nil} means to preserve the |
| 2526 | modification time of the copied files. A prefix arg makes | 2526 | modification time of the copied files. A prefix arg makes |
| 2527 | @var{keep-time} non-@code{nil}. | 2527 | @var{keep-time} non-@code{nil}. |
| 2528 | 2528 | ||
| 2529 | Noninteractively, the last argument @var{parents} says whether to | 2529 | The fourth argument @var{parents} says whether to |
| 2530 | create parent directories if they don't exist. Interactively, | 2530 | create parent directories if they don't exist. Interactively, |
| 2531 | this happens by default. | 2531 | this happens by default. |
| 2532 | |||
| 2533 | The fifth argument @var{copy-contents}, if non-@code{nil}, means to | ||
| 2534 | copy the contents of @var{dirname} directly into @var{newname} if the | ||
| 2535 | latter is an existing directory, instead of copying @var{dirname} into | ||
| 2536 | it as a subdirectory. | ||
| 2532 | @end deffn | 2537 | @end deffn |
| 2533 | 2538 | ||
| 2534 | @cindex trash | 2539 | @cindex trash |