Variable: safe-local-variable-directories
safe-local-variable-directories is a customizable variable defined in
files.el.gz.
Value
nil
Documentation
A list of directories where local variables are always enabled.
Directory-local variables loaded from these directories, such as the
variables in .dir-locals.el, will be enabled even if they are risky.
The names of the directories in the list must be absolute, and must
end in a slash. Remote directories can be included if the
variable enable-remote-dir-locals is non-nil.
This variable was added, or its default value changed, in Emacs 30.1.
Probably introduced at or before Emacs version 30.1.
Source Code
;; Defined in /usr/src/emacs/lisp/files.el.gz
(defcustom safe-local-variable-directories '()
"A list of directories where local variables are always enabled.
Directory-local variables loaded from these directories, such as the
variables in .dir-locals.el, will be enabled even if they are risky.
The names of the directories in the list must be absolute, and must
end in a slash. Remote directories can be included if the
variable `enable-remote-dir-locals' is non-nil."
:version "30.1"
:type '(repeat string)
:risky t
:group 'find-file)