|
From: | Michael Heerdegen |
Subject: | Re: Is it possible to ignore all variable except 'tab-width' in dir-locals-file or local-variables? |
Date: | Wed, 23 Oct 2019 08:42:24 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Zhang Haijun <ccsmile2008@outlook.com> writes: > Is there a custom variable like ‘user-safe-local-variables’ which can > be set to ‘(tab-width) to control this? Looks there is only an `ignored-local-variables' user option. The filtering is done in `hack-local-variables-filter' if you want to look at the code. So it seems what you want is not possible by only configuring an option, you would have to advice `hack-local-variables-filter'. Michael.
[Prev in Thread] | Current Thread | [Next in Thread] |