[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs/doc/lispref files.texi
From: |
Michael Albinus |
Subject: |
[Emacs-diffs] emacs/doc/lispref files.texi |
Date: |
Mon, 05 Oct 2009 08:11:42 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Michael Albinus <albinus> 09/10/05 08:11:42
Modified files:
doc/lispref : files.texi
Log message:
* files.texi (Create/Delete Dirs): New command copy-directory.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/doc/lispref/files.texi?cvsroot=emacs&r1=1.24&r2=1.25
Patches:
Index: files.texi
===================================================================
RCS file: /sources/emacs/emacs/doc/lispref/files.texi,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -b -r1.24 -r1.25
--- files.texi 1 Oct 2009 15:46:03 -0000 1.24
+++ files.texi 5 Oct 2009 08:11:42 -0000 1.25
@@ -2482,8 +2482,9 @@
@end defvar
@node Create/Delete Dirs
address@hidden Creating and Deleting Directories
address@hidden Creating, Copying and Deleting Directories
@cindex creating and deleting directories
address@hidden copying directories
@c Emacs 19 features
Most Emacs Lisp file-manipulation functions get errors when used on
@@ -2501,6 +2502,23 @@
@code{mkdir} is an alias for this.
@end deffn
address@hidden Command copy-directory dirname newname &optional keep-time
parents
+This command copies the directory named @var{dirname} to
address@hidden If @var{newname} names an existing directory,
address@hidden will be copied to a subdirectory there.
+
+It always sets the file modes of the copied files to match the
+corresponding original file.
+
+The third arg @var{keep-time} address@hidden means to preserve the
+modification time of the copied files. A prefix arg makes
address@hidden address@hidden
+
+Noninteractively, the last argument @var{parents} says whether to
+create parent directories if they don't exist. Interactively,
+this happens by default.
address@hidden deffn
+
@deffn Command delete-directory dirname &optional recursive
This command deletes the directory named @var{dirname}. The function
@code{delete-file} does not work for files that are directories; you