comparison lispref/files.texi @ 55192:dd5538a91d27

(Changing Files): Document set-file-times.
author Eli Zaretskii <eliz@gnu.org>
date Tue, 27 Apr 2004 13:21:28 +0000
parents 5af1398ad8e2
children d87f8236b6fd
comparison
equal deleted inserted replaced
55191:8e8564f5c1eb 55192:dd5538a91d27
1441 the default file protection has no effect. 1441 the default file protection has no effect.
1442 @end defun 1442 @end defun
1443 1443
1444 @defun default-file-modes 1444 @defun default-file-modes
1445 This function returns the current default protection value. 1445 This function returns the current default protection value.
1446 @end defun
1447
1448 @defun set-file-times filename &optional time
1449 This function sets the access and modification times of @var{filename}
1450 to @var{time}. The return value is @code{t} if the times are successfully
1451 set, otherwise it is @code{nil}. @var{time} defaults to the current
1452 time and must be in the format returned by @code{current-time}
1453 (@pxref{Time of Day}).
1446 @end defun 1454 @end defun
1447 1455
1448 @cindex MS-DOS and file modes 1456 @cindex MS-DOS and file modes
1449 @cindex file modes and MS-DOS 1457 @cindex file modes and MS-DOS
1450 On MS-DOS, there is no such thing as an ``executable'' file mode bit. 1458 On MS-DOS, there is no such thing as an ``executable'' file mode bit.
2501 @code{insert-directory}, 2509 @code{insert-directory},
2502 @code{insert-file-contents},@* 2510 @code{insert-file-contents},@*
2503 @code{load}, @code{make-directory}, 2511 @code{load}, @code{make-directory},
2504 @code{make-directory-internal}, 2512 @code{make-directory-internal},
2505 @code{make-symbolic-link},@* 2513 @code{make-symbolic-link},@*
2506 @code{rename-file}, @code{set-file-modes}, 2514 @code{rename-file}, @code{set-file-modes}, @code{set-file-times},
2507 @code{set-visited-file-modtime}, @code{shell-command}, 2515 @code{set-visited-file-modtime}, @code{shell-command},
2508 @code{substitute-in-file-name},@* 2516 @code{substitute-in-file-name},@*
2509 @code{unhandled-file-name-directory}, 2517 @code{unhandled-file-name-directory},
2510 @code{vc-registered}, 2518 @code{vc-registered},
2511 @code{verify-visited-file-modtime},@* 2519 @code{verify-visited-file-modtime},@*