bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#37475: 27.0.50 bootstrap fails


From: Eli Zaretskii
Subject: bug#37475: 27.0.50 bootstrap fails
Date: Sat, 21 Sep 2019 12:37:39 +0300

> Date: Sat, 21 Sep 2019 12:33:32 +0300
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: 37475@debbugs.gnu.org
> 
>   (defcustom message-user-organization-file
>     (let (orgfile)
>       (dolist (f (list "/etc/organization"
>                      "/etc/news/organization"
>                      "/usr/lib/news/organization"))
>       (when (file-readable-p f)
>         (setq orgfile f)))
>       orgfile)
>     "Local news organization file."
> 
> file-readable-p is documented to "Return t if file FILENAME exists and
> you can read it."  So I think Ffile_readable_p should not signal an
> error if the file does not exist, it should return nil instead.

Hmm... I see that it does already.

Andreas, can you tell whether this file exists on your system, and
what was the errno value inside Ffile_readable_p?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]