Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
461bf92b
Commit
461bf92b
authored
Oct 05, 2009
by
Michael Albinus
Browse files
* files.texi (Create/Delete Dirs): New command copy-directory.
parent
50b49ade
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
1 deletion
+23
-1
doc/lispref/ChangeLog
doc/lispref/ChangeLog
+4
-0
doc/lispref/files.texi
doc/lispref/files.texi
+19
-1
No files found.
doc/lispref/ChangeLog
View file @
461bf92b
2009-10-05 Michael Albinus <michael.albinus@gmx.de>
* files.texi (Create/Delete Dirs): New command copy-directory.
2009-10-04 Juanma Barranquero <lekktu@gmail.com>
* anti.texi (Antinews):
...
...
doc/lispref/files.texi
View file @
461bf92b
...
...
@@ -2482,8 +2482,9 @@ which generate the listing with Lisp code.
@end defvar
@node Create/Delete Dirs
@section Creating and Deleting Directories
@section Creating
, Copying
and Deleting Directories
@cindex creating and deleting directories
@cindex copying directories
@c Emacs 19 features
Most Emacs Lisp file-manipulation functions get errors when used on
...
...
@@ -2501,6 +2502,23 @@ if they don't already exist.
@
code
{
mkdir
}
is
an
alias
for
this
.
@
end
deffn
@
deffn
Command
copy
-
directory
dirname
newname
&
optional
keep
-
time
parents
This
command
copies
the
directory
named
@
var
{
dirname
}
to
@
var
{
newname
}.
If
@
var
{
newname
}
names
an
existing
directory
,
@
var
{
dirname
}
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
}
non
-@
code
{
nil
}
means
to
preserve
the
modification
time
of
the
copied
files
.
A
prefix
arg
makes
@
var
{
keep
-
time
}
non
-@
code
{
nil
}.
Noninteractively
,
the
last
argument
@
var
{
parents
}
says
whether
to
create
parent
directories
if
they
don
't exist. Interactively,
this happens by default.
@end 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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment