(Fvisited_file_modtime): Document `(-1 65535)' as a value for non-existent files.
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Sun, 11 Sep 2011 14:46:38 +0000 (16:46 +0200)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Sun, 11 Sep 2011 14:46:38 +0000 (16:46 +0200)
src/ChangeLog
src/fileio.c

index d9891e4..b9405b1 100644 (file)
@@ -1,3 +1,8 @@
+2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * fileio.c (Fvisited_file_modtime): Document `(-1 65535)' as a
+       value for non-existent files.
+
 2011-09-11  Eli Zaretskii  <eliz@gnu.org>
 
        * fileio.c (Finsert_file_contents): If the file cannot be opened,
index 2c478ba..6cfddde 100644 (file)
@@ -5045,9 +5045,10 @@ Next attempt to save will certainly not complain of a discrepancy.  */)
 DEFUN ("visited-file-modtime", Fvisited_file_modtime,
        Svisited_file_modtime, 0, 0, 0,
        doc: /* Return the current buffer's recorded visited file modification time.
-The value is a list of the form (HIGH LOW), like the time values
-that `file-attributes' returns.  If the current buffer has no recorded
-file modification time, this function returns 0.
+The value is a list of the form (HIGH LOW), like the time values that
+`file-attributes' returns.  If the current buffer has no recorded file
+modification time, this function returns 0.  If the visited file
+doesn't exist, `(-1 65535)' will be returned.
 See Info node `(elisp)Modification Time' for more details.  */)
   (void)
 {