aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLars Magne Ingebrigtsen2011-09-11 16:46:38 +0200
committerLars Magne Ingebrigtsen2011-09-11 16:46:38 +0200
commit1c4d7f3d299d580102cb07ab623244474f1d4020 (patch)
treeba91b4b6aba8fbfb169da31ed6b30570438cd704 /src
parentc36da500061f83c5ef9aac9373acd45c6e01137a (diff)
downloademacs-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/ChangeLog5
-rw-r--r--src/fileio.c7
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 @@
12011-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
12011-09-11 Eli Zaretskii <eliz@gnu.org> 62011-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. */)
5045DEFUN ("visited-file-modtime", Fvisited_file_modtime, 5045DEFUN ("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.
5048The value is a list of the form (HIGH LOW), like the time values 5048The value is a list of the form (HIGH LOW), like the time values that
5049that `file-attributes' returns. If the current buffer has no recorded 5049`file-attributes' returns. If the current buffer has no recorded file
5050file modification time, this function returns 0. 5050modification time, this function returns 0. If the visited file
5051doesn't exist, `(-1 65535)' will be returned.
5051See Info node `(elisp)Modification Time' for more details. */) 5052See Info node `(elisp)Modification Time' for more details. */)
5052 (void) 5053 (void)
5053{ 5054{