Document the return values for RENAME-FILE.
authorRaymond Toy <toy.raymond@gmail.com>
Fri, 18 Jan 2013 04:02:24 +0000 (20:02 -0800)
committerRaymond Toy <toy.raymond@gmail.com>
Fri, 18 Jan 2013 04:02:24 +0000 (20:02 -0800)
src/code/filesys.lisp

index 308b8b5..9d224df 100644 (file)
 ;;; Rename-File  --  Public
 ;;;
 (defun rename-file (file new-name)
-  "Rename File to have the specified New-Name.  If file is a stream open to a
-  file, then the associated file is renamed."
+  "Rename File to have the specified New-Name.  If file is a stream
+  open to a file, then the associated file is renamed.
+
+  Three values are returned if successful: the defaulted new name
+  composed of New-Name with missing components filled in from File;
+  the truename of File before it was renamed; the new truename of the
+  File after it was renamed."
   (let* ((original (truename file))
         (original-namestring (unix-namestring original t))
         (new-name (merge-pathnames new-name file))