Subject: Re: bug#79127: 30.1; Inaccurate description of find-file-noselect with NOWARN non-nil

From: Eli Zaretskii <[email-masked]>
Date: Sat, 02 Aug 2025 17:35:36 +0300

> From: richard newton <[email-masked]>
> Date: Wed, 30 Jul 2025 13:02:02 +0200
> 
> Description of find-file-noselect says "If a buffer exists visiting FILENAME, return that one, but verify that the
> file has not changed since visited or saved."
> 
> The description for arg NOWARN only says
> "Optional second arg NOWARN non-nil means suppress any warning messages."
> 
> But if NOWARN is non-nil then it also does not verify that the file has not changed
> 
> Ideally, the code should be changed to match the description. If not, the description for NOWARN could be
> improved.

Thanks.  I opted to change the documentation (on the emacs-30 branch),
since NOWARN should not be used when there's a possibility that the
file has been edited behind Emacs's back, and it's impossible to not
warn if we discover that it has been.