[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emacs-diffs] /srv/bzr/emacs/trunk r107532: Undo r107517
From: |
Stefan Monnier |
Subject: |
Re: [Emacs-diffs] /srv/bzr/emacs/trunk r107532: Undo r107517 |
Date: |
Thu, 08 Mar 2012 10:15:29 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) |
> + ;; FIXME? is it right to silently ignore an unreadable file?
> + ;; Maybe we'd want to keep searching in that case.
> + ;; That is a locate-dominating-file issue.
> + (or (not (file-readable-p locals-file))
> + (not (file-regular-p locals-file)))
I think silently ignoring it is not right, indeed. Keeping on searching
would amount to ignoring it even more, which I don't think is
right either. Instead, we should treat it as a (demoted) error, just
the same as a dir-local.el file with an invalid content.
Stefan