[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#66663: 30.0.50; Allow dir locals file selection in *-dir-local-varia
From: |
Juri Linkov |
Subject: |
bug#66663: 30.0.50; Allow dir locals file selection in *-dir-local-variable functions |
Date: |
Sun, 22 Oct 2023 20:55:14 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) |
close 66663 30.0.50
thanks
>> This needs to be run in the project's root directory
>> where the dir-locals file is saved. Probably it's not easy
>> to find the root without using project.el. But when one of the
>> files already exists (either .dir-locals.el or .dir-locals-2.el),
>> then better to use the directory of the existing file by default.
>
> In this new patch, I went for using it if already available and we
> couldn't find an existing file by other means.
Thanks, I've tested your patch, and it works nicely, so now pushed to master.