Subject: Re: bug#9139: 24.0.50; Inappropriate warning: "File no longer exists!"

From: Lars Magne Ingebrigtsen <[email-masked]>
Date: Sun, 11 Sep 2011 16:49:40 +0200

Eli Zaretskii <[email-masked]> writes:

>> (visited-file-modtime)
>> => (-1 65535)
>> 
>> in foo.txt.  But is that a bug?
>
> No.  -1 as the modtime exactly means that the file does not exist.  So
> at most we need to update the doc string, assuming that we want to
> reveal such implementation details.

I've now updated the doc string.  It seems like a non-optimal return
value for this situation (nil might make more sense), though, but
changing that might break stuff, I guess.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/