[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lispref/files.texi [emacs-unicode-2]
From: |
Miles Bader |
Subject: |
[Emacs-diffs] Changes to emacs/lispref/files.texi [emacs-unicode-2] |
Date: |
Mon, 28 Jun 2004 04:33:14 -0400 |
Index: emacs/lispref/files.texi
diff -c emacs/lispref/files.texi:1.54.2.1 emacs/lispref/files.texi:1.54.2.2
*** emacs/lispref/files.texi:1.54.2.1 Mon Apr 19 07:01:41 2004
--- emacs/lispref/files.texi Mon Jun 28 07:28:50 2004
***************
*** 1445,1450 ****
--- 1445,1458 ----
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.
***************
*** 2485,2491 ****
@code{file-attributes},
@code{file-directory-p},
@code{file-executable-p}, @code{file-exists-p},
! @code{file-local-copy},
@code{file-modes}, @code{file-name-all-completions},
@code{file-name-as-directory},
@code{file-name-completion},
--- 2493,2499 ----
@code{file-attributes},
@code{file-directory-p},
@code{file-executable-p}, @code{file-exists-p},
! @code{file-local-copy}, @code{file-remote-p},
@code{file-modes}, @code{file-name-all-completions},
@code{file-name-as-directory},
@code{file-name-completion},
***************
*** 2503,2509 ****
@code{load}, @code{make-directory},
@code{make-directory-internal},
@code{make-symbolic-link},@*
! @code{rename-file}, @code{set-file-modes},
@code{set-visited-file-modtime}, @code{shell-command},
@code{substitute-in-file-name},@*
@code{unhandled-file-name-directory},
--- 2511,2517 ----
@code{load}, @code{make-directory},
@code{make-directory-internal},
@code{make-symbolic-link},@*
! @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},
***************
*** 2529,2535 ****
@code{file-attributes},
@address@hidden,
@code{file-executable-p}, @code{file-exists-p},
! @code{file-local-copy},
@code{file-modes}, @code{file-name-all-completions},
@code{file-name-as-directory},
@code{file-name-completion},
--- 2537,2543 ----
@code{file-attributes},
@address@hidden,
@code{file-executable-p}, @code{file-exists-p},
! @code{file-local-copy}, @code{file-remote-p},
@code{file-modes}, @code{file-name-all-completions},
@code{file-name-as-directory},
@code{file-name-completion},
***************
*** 2637,2644 ****
@end defun
@defun file-remote-p filename
! This function returns @code{t} if @var{filename} is a remote file---that is,
! a magic file name that handles @code{file-local-copy}.
@end defun
@defun unhandled-file-name-directory filename
--- 2645,2651 ----
@end defun
@defun file-remote-p filename
! This function returns @code{t} if @var{filename} is a remote file.
@end defun
@defun unhandled-file-name-directory filename
- [Emacs-diffs] Changes to emacs/lispref/files.texi [emacs-unicode-2],
Miles Bader <=