On Tue, Nov 21, 2017 at 3:33 PM Eli Zaretskii <eliz@gnu.org> wrote:

It was only removed from the emacs-25 branch, not from the other
branches.

There's a bit of confusion with that "It" in "It was removed".

I see that that dir-locals-2 feature is absent on emacs-26 branch but the mentions are still there in NEWS, DOC and files.el (dir-locals-file docstring and unused defconst dir-locals-file-2).
--

Kaushal Modi