diff options
author | Chong Yidong <cyd@gnu.org> | 2013-12-28 12:30:19 +0800 |
---|---|---|
committer | Chong Yidong <cyd@gnu.org> | 2013-12-28 12:30:19 +0800 |
commit | 4364185f73c426c17de2892d41992f080c6d433c (patch) | |
tree | fbc927b5da82d770fa8e3afbbb7b0cea0404f155 /doc/lispref/buffers.texi | |
parent | a544fbe1d185d9251521e51160eaa31fda1474ca (diff) | |
download | emacs-4364185f73c426c17de2892d41992f080c6d433c.tar.gz |
Doc updates
* buffers.texi (Modification Time): Document visited-file-modtime change.
* modes.texi (Auto Major Mode): Document interpreter-mode-alist change.
Diffstat (limited to 'doc/lispref/buffers.texi')
-rw-r--r-- | doc/lispref/buffers.texi | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/doc/lispref/buffers.texi b/doc/lispref/buffers.texi index 01269851250..bb33cb3a700 100644 --- a/doc/lispref/buffers.texi +++ b/doc/lispref/buffers.texi @@ -632,13 +632,12 @@ exceptional places where the usual test to avoid overwriting a changed file should not be done. @end defun -@c Emacs 19 feature @defun visited-file-modtime This function returns the current buffer's recorded last file modification time, as a list of the form @code{(@var{high} @var{low} -@var{microsec} @var{picosec})}. -(This is the same format that @code{file-attributes} uses to return -time values; see @ref{File Attributes}.) +@var{microsec} @var{picosec})}. (This is the same format that +@code{file-attributes} uses to return time values; @pxref{File +Attributes}.) If the buffer has no recorded last modification time, this function returns zero. This case occurs, for instance, if the buffer is not @@ -648,17 +647,9 @@ visiting a file or if the time has been explicitly cleared by too. For instance, in a Dired buffer listing a directory, it returns the last modification time of that directory, as recorded by Dired. -For a new buffer visiting a not yet existing file, @var{high} is -@minus{}1 and @var{low} is 65535, that is, -@ifnottex -@w{2**16 @minus{} 1.} -@end ifnottex -@tex -@math{2^{16}-1}. -@end tex +If the buffer is not visiting a file, this function returns -1. @end defun -@c Emacs 19 feature @defun set-visited-file-modtime &optional time This function updates the buffer's record of the last modification time of the visited file, to the value specified by @var{time} if @var{time} |