diff options
author | Eli Zaretskii <eliz@gnu.org> | 2004-04-27 13:21:28 +0000 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2004-04-27 13:21:28 +0000 |
commit | 37c0b8fd3dfe9b6773388e976519306c8978a5ef (patch) | |
tree | 068ade50f43f9024d37afc5734a3b3962d5f0242 /lispref | |
parent | 08818866f15c0d15bdb5245078524ed61423c986 (diff) | |
download | emacs-37c0b8fd3dfe9b6773388e976519306c8978a5ef.tar.gz |
(Changing Files): Document set-file-times.
Diffstat (limited to 'lispref')
-rw-r--r-- | lispref/files.texi | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lispref/files.texi b/lispref/files.texi index 045b5741108..7ea482efa51 100644 --- a/lispref/files.texi +++ b/lispref/files.texi @@ -1445,6 +1445,14 @@ the default file protection has no effect. This function returns the current default protection value. @end defun +@defun set-file-times filename &optional time +This function sets the access and modification times of @var{filename} +to @var{time}. The return value is @code{t} if the times are successfully +set, otherwise it is @code{nil}. @var{time} defaults to the current +time and must be in the format returned by @code{current-time} +(@pxref{Time of Day}). +@end defun + @cindex MS-DOS and file modes @cindex file modes and MS-DOS On MS-DOS, there is no such thing as an ``executable'' file mode bit. @@ -2503,7 +2511,7 @@ Here are the operations that a magic file name handler gets to handle: @code{load}, @code{make-directory}, @code{make-directory-internal}, @code{make-symbolic-link},@* -@code{rename-file}, @code{set-file-modes}, +@code{rename-file}, @code{set-file-modes}, @code{set-file-times}, @code{set-visited-file-modtime}, @code{shell-command}, @code{substitute-in-file-name},@* @code{unhandled-file-name-directory}, |