diff options
| author | Lars Magne Ingebrigtsen | 2011-09-11 16:46:38 +0200 |
|---|---|---|
| committer | Lars Magne Ingebrigtsen | 2011-09-11 16:46:38 +0200 |
| commit | 1c4d7f3d299d580102cb07ab623244474f1d4020 (patch) | |
| tree | ba91b4b6aba8fbfb169da31ed6b30570438cd704 /src | |
| parent | c36da500061f83c5ef9aac9373acd45c6e01137a (diff) | |
| download | emacs-1c4d7f3d299d580102cb07ab623244474f1d4020.tar.gz emacs-1c4d7f3d299d580102cb07ab623244474f1d4020.zip | |
(Fvisited_file_modtime): Document `(-1 65535)' as a value for non-existent files.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/fileio.c | 7 |
2 files changed, 9 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index d9891e457ac..b9405b15420 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org> | ||
| 2 | |||
| 3 | * fileio.c (Fvisited_file_modtime): Document `(-1 65535)' as a | ||
| 4 | value for non-existent files. | ||
| 5 | |||
| 1 | 2011-09-11 Eli Zaretskii <eliz@gnu.org> | 6 | 2011-09-11 Eli Zaretskii <eliz@gnu.org> |
| 2 | 7 | ||
| 3 | * fileio.c (Finsert_file_contents): If the file cannot be opened, | 8 | * fileio.c (Finsert_file_contents): If the file cannot be opened, |
diff --git a/src/fileio.c b/src/fileio.c index 2c478bac98f..6cfddde424b 100644 --- a/src/fileio.c +++ b/src/fileio.c | |||
| @@ -5045,9 +5045,10 @@ Next attempt to save will certainly not complain of a discrepancy. */) | |||
| 5045 | DEFUN ("visited-file-modtime", Fvisited_file_modtime, | 5045 | DEFUN ("visited-file-modtime", Fvisited_file_modtime, |
| 5046 | Svisited_file_modtime, 0, 0, 0, | 5046 | Svisited_file_modtime, 0, 0, 0, |
| 5047 | doc: /* Return the current buffer's recorded visited file modification time. | 5047 | doc: /* Return the current buffer's recorded visited file modification time. |
| 5048 | The value is a list of the form (HIGH LOW), like the time values | 5048 | The value is a list of the form (HIGH LOW), like the time values that |
| 5049 | that `file-attributes' returns. If the current buffer has no recorded | 5049 | `file-attributes' returns. If the current buffer has no recorded file |
| 5050 | file modification time, this function returns 0. | 5050 | modification time, this function returns 0. If the visited file |
| 5051 | doesn't exist, `(-1 65535)' will be returned. | ||
| 5051 | See Info node `(elisp)Modification Time' for more details. */) | 5052 | See Info node `(elisp)Modification Time' for more details. */) |
| 5052 | (void) | 5053 | (void) |
| 5053 | { | 5054 | { |