[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: about the manual of visited-file-modtime
From: |
Radon Rosborough |
Subject: |
Re: about the manual of visited-file-modtime |
Date: |
Mon, 12 Mar 2018 22:24:55 -0700 |
> If the buffer is not visiting a file, this function returns -1.
In my copy of Emacs 26, it says
If the visited file doesn’t exist, return -1.
Which is exactly what it does. *scratch* and *Messages* do not visit
files, so they have no recorded modtime, hence 0. If you visit a new
file but don't save it, you get -1.