Function: visited-file-modtime

visited-file-modtime is a function defined in fileio.c.

Signature

(visited-file-modtime)

Documentation

Return the current buffer's recorded visited file modification time.

Return a Lisp timestamp (as in current-time) if the current buffer has a recorded file modification time, 0 if it doesn't, and -1 if the visited file doesn't exist. See Info node (elisp)Modification Time for more details.

View in manual

Probably introduced at or before Emacs version 22.1.

Source Code

// Defined in /usr/src/emacs/src/fileio.c
{
  return buffer_visited_file_modtime (current_buffer);
}