From: Radon Rosborough <radon.neon@gmail.com>
To: zhang cc <ccsmile2008@outlook.com>
Cc: "emacs-devel@gnu.org" <emacs-devel@gnu.org>
Subject: Re: about the manual of visited-file-modtime
Date: Mon, 12 Mar 2018 22:24:55 -0700 [thread overview]
Message-ID: <CADB4rJF0n5y1gymbvzA_gEGnu_H_uBxGKCe2s0Y8wWQa8gMdSA@mail.gmail.com> (raw)
In-Reply-To: <SG2PR0601MB14055D24013FF30E58107427A8D30@SG2PR0601MB1405.apcprd06.prod.outlook.com>
> 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.
next prev parent reply other threads:[~2018-03-13 5:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-12 23:51 about the manual of visited-file-modtime zhang cc
2018-03-13 5:24 ` Radon Rosborough [this message]
2018-03-13 9:36 ` zhang cc
2018-03-13 16:39 ` Radon Rosborough
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CADB4rJF0n5y1gymbvzA_gEGnu_H_uBxGKCe2s0Y8wWQa8gMdSA@mail.gmail.com \
--to=radon.neon@gmail.com \
--cc=ccsmile2008@outlook.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).