bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

copy-file doc string and argument's name


From: NAKAJIMA Mikio
Subject: copy-file doc string and argument's name
Date: Sat, 16 Dec 2000 11:37:56 +0900
User-agent: SEMI/1.14.0 (ほくほく大島) Deisui/1.14.0 (Kikuhime) APEL/10.2 Emacs/20.7 (i586-pc-linux-gnu) MULE/4.1 (AOI)

In GNU Emacs 20.7.2 (i586-pc-linux-gnu, X toolkit)
 of Thu Oct 12 2000 on pcg-c1
configured using `configure  --with-x --with-gcc'

  I found an inconsistency of copy-file's doc string to its argument's
name.  One call it KEEP-TIME and one call it KEEP-DATE.

  copy-file is an interactive built-in function.

  Copy FILE to NEWNAME.  Both args must be strings.
  Signals a `file-already-exists' error if file NEWNAME already exists,
  unless a third argument OK-IF-ALREADY-EXISTS is supplied and non-nil.
  A number as third arg means request confirmation if NEWNAME already exists.
  This is what happens in interactive use with M-x.
  Fourth arg KEEP-TIME non-nil means give the new file the same
  last-modified time as the old one.  (This works on only some systems.)
  A prefix arg makes KEEP-TIME non-nil.
  
  (copy-file FILE NEWNAME &optional OK-IF-ALREADY-EXISTS KEEP-DATE)

Regards,
-- 
Mikio Nakajima <address@hidden>
http://www.asahi-net.or.jp/~gy2m-nkjm/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]