[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lispref/files.texi
From: |
Richard M . Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/lispref/files.texi |
Date: |
Sat, 23 Apr 2005 12:24:59 -0400 |
Index: emacs/lispref/files.texi
diff -c emacs/lispref/files.texi:1.74 emacs/lispref/files.texi:1.75
*** emacs/lispref/files.texi:1.74 Sun Mar 6 18:14:33 2005
--- emacs/lispref/files.texi Sat Apr 23 16:24:59 2005
***************
*** 1364,1370 ****
same effect as renaming, aside from momentary intermediate states.
@end deffn
! @deffn Command copy-file oldname newname &optional ok-if-exists time
This command copies the file @var{oldname} to @var{newname}. An
error is signaled if @var{oldname} does not exist. If @var{newname}
names a directory, it copies @var{oldname} into that directory,
--- 1364,1370 ----
same effect as renaming, aside from momentary intermediate states.
@end deffn
! @deffn Command copy-file oldname newname &optional ok-if-exists time mustbenew
This command copies the file @var{oldname} to @var{newname}. An
error is signaled if @var{oldname} does not exist. If @var{newname}
names a directory, it copies @var{oldname} into that directory,
***************
*** 1379,1384 ****
--- 1379,1388 ----
In an interactive call, a prefix argument specifies a address@hidden
value for @var{time}.
+
+ The argument @var{mustbenew} controls whether an existing file can be
+ overwritten. It works like the similarly-named argument of
+ @code{write-file} (@pref{Writing to Files}).
@end deffn
@deffn Command make-symbolic-link filename newname &optional ok-if-exists