diff options
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/files.texi | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/lispref/files.texi b/doc/lispref/files.texi index a69a4e5dd38..b3ad9b99649 100644 --- a/doc/lispref/files.texi +++ b/doc/lispref/files.texi | |||
| @@ -1909,11 +1909,19 @@ omitted or @code{nil}, it defaults to 0, i.e., no access rights at | |||
| 1909 | all. | 1909 | all. |
| 1910 | @end defun | 1910 | @end defun |
| 1911 | 1911 | ||
| 1912 | @defun set-file-times filename &optional time | 1912 | @defun set-file-times filename &optional time flag |
| 1913 | This function sets the access and modification times of @var{filename} | 1913 | This function sets the access and modification times of @var{filename} |
| 1914 | to @var{time}. The return value is @code{t} if the times are successfully | 1914 | to @var{time}. The return value is @code{t} if the times are successfully |
| 1915 | set, otherwise it is @code{nil}. @var{time} defaults to the current | 1915 | set, otherwise it is @code{nil}. @var{time} defaults to the current |
| 1916 | time and must be a time value (@pxref{Time of Day}). | 1916 | time and must be a time value (@pxref{Time of Day}). |
| 1917 | |||
| 1918 | By default this function follows symbolic links. However, if the | ||
| 1919 | optional argument @var{flag} is the symbol @code{nofollow}, this | ||
| 1920 | function does not follow @var{filename} if it is a symbolic link; | ||
| 1921 | this can help prevent inadvertently changing the times of a file | ||
| 1922 | somewhere else. On platforms that do not support changing times | ||
| 1923 | on a symbolic link, this function signals an error when @var{filename} | ||
| 1924 | is a symbolic link and @var{flag} is @code{nofollow}. | ||
| 1917 | @end defun | 1925 | @end defun |
| 1918 | 1926 | ||
| 1919 | @defun set-file-extended-attributes filename attribute-alist | 1927 | @defun set-file-extended-attributes filename attribute-alist |